javax.slee.management
Class SbbDescriptor

java.lang.Object
  extended by javax.slee.management.ComponentDescriptor
      extended by javax.slee.management.SbbDescriptor
All Implemented Interfaces:
java.io.Serializable, VendorExtensions

public class SbbDescriptor
extends ComponentDescriptor

This class provides access to deployment-specific attributes that describe an installed SBB.

See Also:
Serialized Form

Constructor Summary
SbbDescriptor(SbbID component, DeployableUnitID deployableUnit, java.lang.String source, LibraryID[] libraries, SbbID[] sbbs, EventTypeID[] eventTypes, ProfileSpecificationID[] profileSpecs, ProfileSpecificationID addressProfileSpec, ResourceAdaptorTypeID[] raTypes, java.lang.String[] linkNames)
          Create a new SBB component descriptor.
 
Method Summary
 ProfileSpecificationID getAddressProfileSpecification()
          Get the component identifier of the profile specification used for Address Profiles for this SBB.
 EventTypeID[] getEventTypes()
          Get the component identifiers of the event types used by this SBB.
 ProfileSpecificationID[] getProfileSpecifications()
          Get the component identifiers of the profile specifications used by this SBB.
 java.lang.String[] getResourceAdaptorEntityLinks()
          Get the names of the resource adaptor entity links used by this SBB.
 ResourceAdaptorTypeID[] getResourceAdaptorTypes()
          Get the component identifiers of the resource adaptor types used by this SBB.
 SbbID[] getSbbs()
          Get the component identifiers of the SBBs used by this SBB.
 java.lang.String toString()
          Get a string representation for this SBB component descriptor.
 
Methods inherited from class javax.slee.management.ComponentDescriptor
disableVendorDataDeserialization, disableVendorDataSerialization, enableVendorDataDeserialization, enableVendorDataSerialization, equals, getDeployableUnit, getID, getLibraries, getName, getSource, getVendor, getVendorData, getVersion, hashCode, setVendorData, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SbbDescriptor

public SbbDescriptor(SbbID component,
                     DeployableUnitID deployableUnit,
                     java.lang.String source,
                     LibraryID[] libraries,
                     SbbID[] sbbs,
                     EventTypeID[] eventTypes,
                     ProfileSpecificationID[] profileSpecs,
                     ProfileSpecificationID addressProfileSpec,
                     ResourceAdaptorTypeID[] raTypes,
                     java.lang.String[] linkNames)
Create a new SBB component descriptor.

Parameters:
component - the identifier of the component.
deployableUnit - the identifier of the deployable unit from which the component was installed.
source - the source object (component jar or service XML file) within the deployable unit from which this component was installed.
libraries - the identifiers of the libraries that the component depends on.
sbbs - the component identifiers of the SBBs used by this SBBs.
eventTypes - the component identifiers of the event types used by this SBB.
profileSpecs - the component identifiers of the profile specifications used by this SBB.
addressProfileSpec - the component identifier of the profile specification used for Address Profiles for this SBB. May be null if the SBB does not specify a profile specification for an address profile table.
raTypes - the component identifiers of the resource adaptor types used by this SBB.
linkNames - the names of the resource adaptor entity links used by this SBB.
Throws:
java.lang.NullPointerException - if any argument, other than addressProfileSpec, is null.
Method Detail

getSbbs

public final SbbID[] getSbbs()
Get the component identifiers of the SBBs used by this SBB. These SBBs may be child SBBs or stored in CMP fields of this SBB.

Returns:
the component identifiers of the SBBs used by this SBB.

getEventTypes

public final EventTypeID[] getEventTypes()
Get the component identifiers of the event types used by this SBB.

Returns:
the component identifiers of the event types used by this SBB.

getProfileSpecifications

public final ProfileSpecificationID[] getProfileSpecifications()
Get the component identifiers of the profile specifications used by this SBB.

Returns:
the component identifiers of the profile specifications used by this SBB.

getAddressProfileSpecification

public final ProfileSpecificationID getAddressProfileSpecification()
Get the component identifier of the profile specification used for Address Profiles for this SBB.

Returns:
the component identifier of the Address Profile profile specification used by this SBB, or null if the SBB does not use Address Profiles.

getResourceAdaptorTypes

public final ResourceAdaptorTypeID[] getResourceAdaptorTypes()
Get the component identifiers of the resource adaptor types used by this SBB.

Returns:
the component identifiers of the resource adaptor types used by this SBB.

getResourceAdaptorEntityLinks

public final java.lang.String[] getResourceAdaptorEntityLinks()
Get the names of the resource adaptor entity links used by this SBB.

Returns:
the names of the resource adaptor entity links used by this SBB.

toString

public java.lang.String toString()
Get a string representation for this SBB component descriptor.

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2009. All Rights Reserved.