public class PortableServiceProvider
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PortableServiceProvider(java.lang.String type, java.lang.String name, java.lang.String description, java.lang.String clazz) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
static PortableServiceProvider |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance.
|
java.lang.String |
getClazz() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.String |
getType() |
int |
hashCode() |
javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData.
|
static javax.management.openmbean.CompositeType |
toCompositeType()
Returns the CompositeType that describes this model specific class.
|
java.lang.String |
toString() |
public PortableServiceProvider(java.lang.String type, java.lang.String name, java.lang.String description, java.lang.String clazz)
type
-name
-description
-clazz
-public java.lang.String getClazz()
public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object
public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
ct
- - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.public static PortableServiceProvider from(javax.management.openmbean.CompositeData cd)
cd
- Composite Data which has information regarding the objectpublic boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object