javax.slee.profile
Class ProfileSpecificationDescriptor

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

public class ProfileSpecificationDescriptor
extends ComponentDescriptor

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

See Also:
Serialized Form

Constructor Summary
ProfileSpecificationDescriptor(ProfileSpecificationID component, DeployableUnitID deployableUnit, java.lang.String source, LibraryID[] libraries, ProfileSpecificationID[] profileSpecs, java.lang.String cmpInterface)
          Create a new profile specification component descriptor.
 
Method Summary
 java.lang.String getCMPInterfaceName()
          Get the fully-qualified class name of the profile specification's CMP interface.
 ProfileSpecificationID[] getProfileSpecifications()
          Get the component identifiers of the other profile specifications used by this profile specification.
 java.lang.String toString()
          Get a string representation for this profile specification 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

ProfileSpecificationDescriptor

public ProfileSpecificationDescriptor(ProfileSpecificationID component,
                                      DeployableUnitID deployableUnit,
                                      java.lang.String source,
                                      LibraryID[] libraries,
                                      ProfileSpecificationID[] profileSpecs,
                                      java.lang.String cmpInterface)
Create a new profile specification 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.
profileSpecs - the component identifiers of the profile specifications used by this profile specification.
cmpInterface - the fully-qualified class name of the profile specification's CMP interface.
Method Detail

getProfileSpecifications

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

Returns:
the component identifiers of the profile specifications used by this profile specification.
Since:
SLEE 1.1

getCMPInterfaceName

public final java.lang.String getCMPInterfaceName()
Get the fully-qualified class name of the profile specification's CMP interface.

Returns:
the name of the profile specification's CMP interface.

toString

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

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


Copyright © 2009. All Rights Reserved.