public class PortableServiceInstance
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PortableServiceInstance(java.lang.String name, PortableServiceProvider provider, PortableMap props) |
PortableServiceInstance(java.lang.String name, PortableServiceProvider provider, PortableMap props, java.util.List<PortableExtendedPropertyType> lstPEP) |
PortableServiceInstance(java.lang.String name, PortableServiceProvider provider, PortableMap props, java.util.List<PortableExtendedPropertyType> lstPEP, java.util.List<java.lang.String> lstPropSetRefs, java.util.List<java.lang.String> lstExtPropSetRefs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
static PortableServiceInstance |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance.
|
java.util.List<java.lang.String> |
getExtendedPropertySetRefs() |
java.util.List<PortableExtendedPropertyType> |
getListExtendedProperties()
Method to return the List of PortableExtendedProperty
|
java.lang.String |
getLocation()
returns the service location.
|
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
java.util.List<java.lang.String> |
getPropertySetRefs() |
PortableServiceProvider |
getProvider() |
int |
hashCode() |
void |
setLocation(java.lang.String location)
returns service location.
|
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 PortableServiceInstance(java.lang.String name, PortableServiceProvider provider, PortableMap props)
name
-provider
-props
-public PortableServiceInstance(java.lang.String name, PortableServiceProvider provider, PortableMap props, java.util.List<PortableExtendedPropertyType> lstPEP)
name
-provider
-props
-public PortableServiceInstance(java.lang.String name, PortableServiceProvider provider, PortableMap props, java.util.List<PortableExtendedPropertyType> lstPEP, java.util.List<java.lang.String> lstPropSetRefs, java.util.List<java.lang.String> lstExtPropSetRefs)
public java.lang.String getName()
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public PortableServiceProvider getProvider()
public java.util.List<PortableExtendedPropertyType> getListExtendedProperties()
public java.util.List<java.lang.String> getPropertySetRefs()
public java.util.List<java.lang.String> getExtendedPropertySetRefs()
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 PortableServiceInstance 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
public void setLocation(java.lang.String location)
location
-public java.lang.String getLocation()