|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.slee.management.DeployableUnitDescriptor
public class DeployableUnitDescriptor
This class provides access to deployment-specific attributes that describe an installed deployable unit.
| Constructor Summary | |
|---|---|
DeployableUnitDescriptor(DeployableUnitID id,
java.util.Date deploymentDate,
ComponentID[] components)
|
|
| Method Summary | |
|---|---|
static void |
disableVendorDataDeserialization()
Disable the deserialization of vendor-specific data for objects of this class. |
static void |
disableVendorDataSerialization()
Disable the serialization of vendor-specific data for objects of this class. |
static void |
enableVendorDataDeserialization()
Enable the deserialization of vendor-specific data for objects of this class. |
static void |
enableVendorDataSerialization()
Enable the serialization of vendor-specific data for objects of this class. |
boolean |
equals(java.lang.Object obj)
Compare this deployable unit identifier for equality with another object. |
ComponentID[] |
getComponents()
Get the component identifiers of the components installed with this deployable unit. |
java.util.Date |
getDeploymentDate()
Get the date that the deployable unit was installed. |
DeployableUnitID |
getID()
Get the deployable unit identifier for this descriptor. |
java.lang.String |
getURL()
Get the URL that the deployable unit was installed from. |
java.lang.Object |
getVendorData()
Get the vendor-specific data. |
int |
hashCode()
Get a hash code value for this deployable unit descriptor. |
void |
setVendorData(java.lang.Object vendorData)
Set the vendor-specific data. |
java.lang.String |
toString()
Get a string representation for this deployable unit descriptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeployableUnitDescriptor(DeployableUnitID id,
java.util.Date deploymentDate,
ComponentID[] components)
| Method Detail |
|---|
public DeployableUnitID getID()
public java.lang.String getURL()
public java.util.Date getDeploymentDate()
public ComponentID[] getComponents()
public static void enableVendorDataSerialization()
By default, any vendor-specific data included in an object of this class will not be included in the serialization stream when the object is serialized. Invoking this method changes this behavior so that vendor-specific data is included in the serialization stream when an object of this class is serialized.
This method should only be invoked if the vendor-specific data is serializable via standard Java serialization means.
disableVendorDataSerialization(),
setVendorData(java.lang.Object)public static void disableVendorDataSerialization()
If the serialization of vendor-specific data for objects of this class has
been enabled via the enableVendorDataSerialization() method, this
method disables that behavior again.
public static void enableVendorDataDeserialization()
By default, any vendor-specific data included in the serialization stream of objects of this class is discarded upon deserialization. Invoking this method changes that behavior so that the vendor-specific data is also deserialized when an object of this class is deserialized. A management client that enables the deserialization of vendor-specific data must ensure that any necessary classes required to deserialize that data is available in the relevant classloader.
disableVendorDataDeserialization(),
getVendorData()public static void disableVendorDataDeserialization()
If the deserialization of vendor-specific data for objects of this class has
been enabled via the enableVendorDataDeserialization() method, this
method disables that behavior again.
public void setVendorData(java.lang.Object vendorData)
setVendorData in interface VendorExtensionsvendorData - the vendor-specific data.public java.lang.Object getVendorData()
getVendorData in interface VendorExtensionspublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare this with.
true if obj is a deployable unit descriptor
containing the same deployable unit identifier as this, false
otherwise.Object.equals(Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||