javax.slee.management
Interface ComponentDescriptor

All Known Subinterfaces:
EventTypeDescriptor, ProfileSpecificationDescriptor, ResourceAdaptorDescriptor, ResourceAdaptorTypeDescriptor, SbbDescriptor, ServiceDescriptor

public interface ComponentDescriptor

This interface is the common base interface for the interfaces that define the attributes of a component descriptor. The ComponentDescriptor interface is the common base interface for all other component descriptor interfaces. All deployable components installed in the SLEE have a descriptor containing deployment-related information, specified as a derivitive interface of ComponentDescriptor.


Method Summary
 DeployableUnitID getDeployableUnit()
          Get the identifier of the deployable unit from which this component was installed.
 ComponentID getID()
          Get the component identifier for this descriptor.
 java.lang.String getName()
          Get the name of the component.
 java.lang.String getSource()
          Get the name of the source object from which this component was installed.
 java.lang.String getVendor()
          Get the vendor of the component.
 java.lang.String getVersion()
          Get the version of the component.
 

Method Detail

getDeployableUnit

public DeployableUnitID getDeployableUnit()
Get the identifier of the deployable unit from which this component was installed.
Returns:
the identifier of the deployable unit from which this component was installed.

getSource

public java.lang.String getSource()
Get the name of the source object from which this component was installed. For services, this is the name of the deployment descriptor XML file specified in the respective <service-xml> element of the enclosing deployable unit's deployment descriptor. For components installed from a component jar file, the source is the name of the component jar file as specified in the respective <jar> element of the enclosing deployable unit's deployment descriptor.
Returns:
the name of the source object from where this component was installed.

getID

public ComponentID getID()
Get the component identifier for this descriptor.
Returns:
the component identifier for this descriptor.

getName

public java.lang.String getName()
Get the name of the component.
Returns:
the name of the component.

getVendor

public java.lang.String getVendor()
Get the vendor of the component.
Returns:
the vendor of the component.

getVersion

public java.lang.String getVersion()
Get the version of the component.
Returns:
the version of the component.