public class DeployableUnitDescriptor extends Object implements VendorExtensions, Serializable
| Constructor and Description |
|---|
DeployableUnitDescriptor(DeployableUnitID id,
Date deploymentDate,
ComponentID[] components) |
| Modifier and Type | Method and Description |
|---|---|
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(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.
|
Date |
getDeploymentDate()
Get the date that the deployable unit was installed.
|
DeployableUnitID |
getID()
Get the deployable unit identifier for this descriptor.
|
String |
getURL()
Get the URL that the deployable unit was installed from.
|
Object |
getVendorData()
Get the vendor-specific data.
|
int |
hashCode()
Get a hash code value for this deployable unit descriptor.
|
void |
setVendorData(Object vendorData)
Set the vendor-specific data.
|
String |
toString()
Get a string representation for this deployable unit descriptor.
|
public DeployableUnitDescriptor(DeployableUnitID id, Date deploymentDate, ComponentID[] components)
public DeployableUnitID getID()
public String getURL()
public 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(Object vendorData)
setVendorData in interface VendorExtensionsvendorData - the vendor-specific data.public Object getVendorData()
getVendorData in interface VendorExtensionspublic boolean equals(Object obj)
equals in class 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 ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()