public final class DeployableUnitDescriptorExtensions extends Object implements Serializable
This class defines Rhino-specific extensions applicable to deployable units.
It is present as vendor-specific data in DeployableUnitDescriptors
obtained from Rhino.
Constructor and Description |
---|
DeployableUnitDescriptorExtensions(DeployableType deployableType,
SleeVersion sleeVersion,
int duJarID,
byte[] checksum,
Properties manifestAttrs,
ComponentID[] extensionComponents)
Create a new deployable unit extension descriptor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getChecksum()
Get the fingerprint checksum of the deployable unit file.
|
DeployableType |
getDeployableType()
Get the type of deployable unit.
|
int |
getDeployableUnitJarID()
Get the deployable unit jar identifier.
|
ComponentID[] |
getExtensionComponents()
Get the component identifiers of the Rhino-specific extension components provided by the deployable unit.
|
Properties |
getManifestAttributes()
Get the main attributes from the deployable unit jar manifest.
|
SleeVersion |
getSleeVersion()
Get the SLEE version of the deployable unit.
|
String |
toString() |
public DeployableUnitDescriptorExtensions(DeployableType deployableType, SleeVersion sleeVersion, int duJarID, byte[] checksum, Properties manifestAttrs, ComponentID[] extensionComponents)
Create a new deployable unit extension descriptor.
deployableType
- the type of deployable unit this is.sleeVersion
- the SLEE version of the deployable unit.
For a standard SLEE deployable unit this is the version obtained from the DOCTYPE declaration in the deployable unit’s deployment descriptor.duJarID
- the unique deployable unit jar identifier.checksum
- the fingerprint checksum of the deployable unit file.
This is calculated using the SHA-1 algorithm.manifestAttrs
- the main attributes from the deployable unit jar manifest.extensionComponents
- the component identifiers of any Rhino-specific extension components provided by the deployable unit.public DeployableType getDeployableType()
Get the type of deployable unit.
public SleeVersion getSleeVersion()
Get the SLEE version of the deployable unit. For a standard SLEE deployable unit this is the version obtained from the DOCTYPE declaration in the deployable unit’s deployment descriptor.
public int getDeployableUnitJarID()
Get the deployable unit jar identifier.
If the same deployable unit is installed into multiple namespaces, the descriptor for each of those deployable units will contain the same value for this identifier. In any other case, this identifier will differ, indicating that the deployable units are different jars.
public byte[] getChecksum()
Get the fingerprint checksum of the deployable unit file. This is calculated using the SHA-1 algorithm.
public Properties getManifestAttributes()
Get the main attributes from the deployable unit jar manifest.
public ComponentID[] getExtensionComponents()
Get the component identifiers of the Rhino-specific extension components provided by the deployable unit. The current extension components types are: