Class DeployableUnitDescriptorExtensions
- java.lang.Object
-
- com.opencloud.rhino.management.deployment.DeployableUnitDescriptorExtensions
-
- All Implemented Interfaces:
Serializable
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.- Since:
- Rhino 2.4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeployableUnitDescriptorExtensions(DeployableType deployableType, SleeVersion sleeVersion, int duJarID, byte[] checksum, Properties manifestAttrs, ComponentID[] extensionComponents)
Create a new deployable unit extension descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
DeployableUnitDescriptorExtensions
public DeployableUnitDescriptorExtensions(DeployableType deployableType, SleeVersion sleeVersion, int duJarID, byte[] checksum, Properties manifestAttrs, ComponentID[] extensionComponents)
Create a new deployable unit extension descriptor.
- Parameters:
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.
-
-
Method Detail
-
getDeployableType
public DeployableType getDeployableType()
Get the type of deployable unit.
- Returns:
- the type of deployable unit.
-
getSleeVersion
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.
- Returns:
- the SLEE version of the deployable unit.
-
getDeployableUnitJarID
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.
- Returns:
- the deployable unit jar idenitifer.
-
getChecksum
public byte[] getChecksum()
Get the fingerprint checksum of the deployable unit file. This is calculated using the SHA-1 algorithm.
- Returns:
- the checksum.
-
getManifestAttributes
public Properties getManifestAttributes()
Get the main attributes from the deployable unit jar manifest.
- Returns:
- the main attributes.
-
getExtensionComponents
public ComponentID[] getExtensionComponents()
Get the component identifiers of the Rhino-specific extension components provided by the deployable unit. The current extension components types are:
- Returns:
- the component identifiers of the Rhino-specific extension components provided by the deployable unit.
-
-