public class LibraryDescriptor extends ComponentDescriptor
Constructor and Description |
---|
LibraryDescriptor(LibraryID component,
DeployableUnitID deployableUnit,
String source,
LibraryID[] libraries,
String[] libraryJars)
Create a new library component descriptor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getLibraryJars()
Get the names of the jars that are included in the library.
|
String |
toString()
Get a string representation for this library component descriptor.
|
disableVendorDataDeserialization, disableVendorDataSerialization, enableVendorDataDeserialization, enableVendorDataSerialization, equals, getDeployableUnit, getID, getLibraries, getName, getSource, getVendor, getVendorData, getVersion, hashCode, setVendorData, toString
public LibraryDescriptor(LibraryID component, DeployableUnitID deployableUnit, String source, LibraryID[] libraries, String[] libraryJars)
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.NullPointerException
- if any argument is null
.public final String[] getLibraryJars()
public String toString()
toString
in class Object
Object.toString()