public class ComponentDescriptorExtensions extends Object implements Serializable
ComponentDescriptors
obtained from Rhino.Constructor and Description |
---|
ComponentDescriptorExtensions(SleeVersion version,
byte[] checksum,
Properties manifestAttrs,
InstallLevel installLevel,
ComponentID[] copies,
ComponentID copySource,
ComponentID original,
Date copyDate)
|
ComponentDescriptorExtensions(SleeVersion version,
byte[] checksum,
Properties manifestAttrs,
InstallLevel installLevel,
ComponentID[] copies,
ComponentID copySource,
ComponentID original,
Date copyDate,
ComponentID shadowedBy,
Date shadowDate,
ComponentID[] incomingLinks,
ComponentID[] shadowing)
Create a new component extension descriptor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getChecksum()
Get the fingerprint checksum of the component.
|
ComponentID[] |
getCopies()
Get the identifiers of the components that have been copied from this component.
|
Date |
getCopyDate()
Get the date that the component was created, if the component is a copied component.
|
ComponentID |
getCopySource()
Get the identifier of the component that this component was copied from or if that component
has been removed from the SLEE then the nearest ancestor component that has not been removed.
|
ComponentID[] |
getIncomingLinks()
Get the identifiers of the components that are links to this component.
|
InstallLevel |
getInstallLevel()
Get the current install level of the component.
|
Properties |
getManifestAttributes()
Get the main attributes from the component jar manifest.
|
ComponentID |
getOriginal()
Get the identifier of the original component that this component is a copy of.
|
Date |
getShadowDate()
Get the date that the component was shadowed, if the component is shadowed.
|
ComponentID |
getShadowedBy()
Get the identifier of the component that shadows this component.
|
ComponentID[] |
getShadowing()
Get the identifiers of the components that are shadowed by this component.
|
SleeVersion |
getVersion()
Get the SLEE version of the component.
|
String |
toString() |
@Deprecated public ComponentDescriptorExtensions(SleeVersion version, byte[] checksum, Properties manifestAttrs, InstallLevel installLevel, ComponentID[] copies, ComponentID copySource, ComponentID original, Date copyDate)
ComponentDescriptorExtensions(SleeVersion, byte[], Properties, InstallLevel, ComponentID[], ComponentID, ComponentID, Date, ComponentID, Date, ComponentID[], ComponentID[])
instead.version
- the SLEE version of the component. This is the version obtained from
the DOCTYPE declaration in the component's deployment descriptor.checksum
- the fingerprint checksum of the component. This is calculated using
the SHA-1 algorithm.manifestAttrs
- the main attributes from the component jar manifest. Only relevant
for components packaged in a jar.installLevel
- the current install level of the component.copies
- the identifiers of the components that have been copied from this component.
This array includes components that were directly copied from this component, and
any component that is an indirect copy of this component but who's intermediate
copied components have been removed from the SLEE.copySource
- the identifier of the component this component was copied from, or if
that component has been removed from the SLEE then the nearest ancestor component
that has not been removed. This parameter should be null
if the component
is an original component installed using a regular deployable unit.original
- the original component that this component is a copy of. This parameter
should be null
if this component is already an original component.copyDate
- the date that the component was created, if the component is a copied
component. This parameter should be null
if the component is an original
component.public ComponentDescriptorExtensions(SleeVersion version, byte[] checksum, Properties manifestAttrs, InstallLevel installLevel, ComponentID[] copies, ComponentID copySource, ComponentID original, Date copyDate, ComponentID shadowedBy, Date shadowDate, ComponentID[] incomingLinks, ComponentID[] shadowing)
version
- the SLEE version of the component. This is the version obtained from
the DOCTYPE declaration in the component's deployment descriptor.checksum
- the fingerprint checksum of the component. This is calculated using
the SHA-1 algorithm.manifestAttrs
- the main attributes from the component jar manifest. Only relevant
for components packaged in a jar.installLevel
- the current install level of the component.copies
- the identifiers of the components that have been copied from this component.
This array includes components that were directly copied from this component, and
any component that is an indirect copy of this component but who's intermediate
copied components have been removed from the SLEE.copySource
- the identifier of the component this component was copied from, or if
that component has been removed from the SLEE then the nearest ancestor component
that has not been removed. This parameter should be null
if the component
is an original component installed using a regular deployable unit.original
- the original component that this component is a copy of. This parameter
should be null
if this component is already an original component.copyDate
- the date that the component was created, if the component is a copied
component. This parameter should be null
if the component is an original
component.shadowedBy
- the component that shadows this component. This parameter should be
null
if this component is not shadowed.shadowDate
- the date that the component was shadowed, if the component is shadowed.
This parameter should be null
if the component is not shadowed.incomingLinks
- the identifiers of the components that are links to this component.shadowing
- the identifiers of the components that are shadowed by this component.public SleeVersion getVersion()
public byte[] getChecksum()
public InstallLevel getInstallLevel()
public Properties getManifestAttributes()
null
for components not packaged in a jar.public ComponentID[] getCopies()
public ComponentID getCopySource()
null
if this component is an original component installed using a regular deployable unit.public ComponentID getOriginal()
null
if this component is already an original component.public Date getCopyDate()
null
if the component is not a
copied component.public ComponentID getShadowedBy()
null
if this
component is not shadowed.public Date getShadowDate()
null
if the component is not
shadowed.public ComponentID[] getIncomingLinks()
public ComponentID[] getShadowing()