public class ServiceDescriptor extends ComponentDescriptor
Constructor and Description |
---|
ServiceDescriptor(ServiceID component,
DeployableUnitID deployableUnit,
String source,
SbbID rootSbb,
String addressProfileTable,
String resourceInfoProfileTable)
Create a new service component descriptor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddressProfileTable()
Get the name of the Address Profile Table used by the Service.
|
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.
|
String |
toString()
Get a string representation for this service component descriptor.
|
disableVendorDataDeserialization, disableVendorDataSerialization, enableVendorDataDeserialization, enableVendorDataSerialization, equals, getDeployableUnit, getID, getLibraries, getName, getSource, getVendor, getVendorData, getVersion, hashCode, setVendorData, toString
public ServiceDescriptor(ServiceID component, DeployableUnitID deployableUnit, String source, SbbID rootSbb, String addressProfileTable, String resourceInfoProfileTable)
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.NullPointerException
- if component
, deployableUnit
,
source
, or rootSbb
is null
.public final SbbID getRootSbb()
public final String getAddressProfileTable()
null
if the Service does not use one.public final String getResourceInfoProfileTable()
null
if the Service does not use one.public String toString()
toString
in class Object
Object.toString()