javax.slee.management
Class LibraryDescriptor

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

public class LibraryDescriptor
extends ComponentDescriptor

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

Since:
SLEE 1.1
See Also:
Serialized Form

Constructor Summary
LibraryDescriptor(LibraryID component, DeployableUnitID deployableUnit, java.lang.String source, LibraryID[] libraries, java.lang.String[] libraryJars)
          Create a new library component descriptor.
 
Method Summary
 java.lang.String[] getLibraryJars()
          Get the names of the jars that are included in the library.
 java.lang.String toString()
          Get a string representation for this library 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

LibraryDescriptor

public LibraryDescriptor(LibraryID component,
                         DeployableUnitID deployableUnit,
                         java.lang.String source,
                         LibraryID[] libraries,
                         java.lang.String[] libraryJars)
Create a new library 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.
libraryJars - the names of any jars that are included in the library. These names are as they appeared in the library component's deployment descriptor.
Throws:
java.lang.NullPointerException - if any argument is null.
Method Detail

getLibraryJars

public final java.lang.String[] getLibraryJars()
Get the names of the jars that are included in the library.

Returns:
the names of the jars that are included in the library.

toString

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

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


Copyright © 2009. All Rights Reserved.