javax.slee.management
Class ServiceDescriptor

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

public class ServiceDescriptor
extends ComponentDescriptor

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

See Also:
Serialized Form

Constructor Summary
ServiceDescriptor(ServiceID component, DeployableUnitID deployableUnit, java.lang.String source, SbbID rootSbb, java.lang.String addressProfileTable, java.lang.String resourceInfoProfileTable)
          Create a new service component descriptor.
 
Method Summary
 java.lang.String getAddressProfileTable()
          Get the name of the Address Profile Table used by the Service.
 java.lang.String getResourceInfoProfileTable()
          Deprecated. The Resource Adaptor architecture of SLEE 1.1 specifies how resource adaptors may interact with profile tables and profiles.
 SbbID getRootSbb()
          Get the component identifier of the Service's root SBB.
 java.lang.String toString()
          Get a string representation for this service 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

ServiceDescriptor

public ServiceDescriptor(ServiceID component,
                         DeployableUnitID deployableUnit,
                         java.lang.String source,
                         SbbID rootSbb,
                         java.lang.String addressProfileTable,
                         java.lang.String resourceInfoProfileTable)
Create a new service 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.
rootSbb - the component identifier of the Service's root SBB.
addressProfileTable - the name of the Address Profile Table used by the Service. May be null if the service does not specify an Address Profile Table.
resourceInfoProfileTable - the name of the Resource Info Profile Table used by the Service. May be null if the service does not specify a Resource Infor Profile Table.
Throws:
java.lang.NullPointerException - if component, deployableUnit, source, or rootSbb is null.
Method Detail

getRootSbb

public final SbbID getRootSbb()
Get the component identifier of the Service's root SBB.

Returns:
the component identifier of the Service's root SBB.

getAddressProfileTable

public final java.lang.String getAddressProfileTable()
Get the name of the Address Profile Table used by the Service.

Returns:
the name of the Address Profile Table used by the Service, or null if the Service does not use one.

getResourceInfoProfileTable

public final java.lang.String getResourceInfoProfileTable()
Deprecated. The Resource Adaptor architecture of SLEE 1.1 specifies how resource adaptors may interact with profile tables and profiles.

Get the name of the Resource Info Profile Table used by the Service.

Returns:
the name of the Resource Info Profile Table used by the Service, or null if the Service does not use one.

toString

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

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


Copyright © 2008. All Rights Reserved.