Skip navigation links

Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14651-04


oracle.security.jps.mas.mgmt.jmx.config
Class PortableServiceInstance

java.lang.Object
  extended by oracle.security.jps.mas.mgmt.jmx.config.PortableServiceInstance

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PortableServiceInstanceWithRef

public class PortableServiceInstance
extends java.lang.Object
implements java.io.Serializable

This class provides open type equivalence to the internal jps class for Service Instance

See Also:
Serialized Form

Constructor Summary
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)
           

 

Method Summary
 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()
           

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

PortableServiceInstance

public PortableServiceInstance(java.lang.String name,
                               PortableServiceProvider provider,
                               PortableMap props)
Parameters:
name -
provider -
props -

PortableServiceInstance

public PortableServiceInstance(java.lang.String name,
                               PortableServiceProvider provider,
                               PortableMap props,
                               java.util.List<PortableExtendedPropertyType> lstPEP)
Parameters:
name -
provider -
props -

PortableServiceInstance

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)

Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name.

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()
Returns:
Returns the props.

getProvider

public PortableServiceProvider getProvider()
Returns:
Returns the provider.

getListExtendedProperties

public java.util.List<PortableExtendedPropertyType> getListExtendedProperties()
Method to return the List of PortableExtendedProperty
Returns:
a list of PortableExtendedPropertyType

getPropertySetRefs

public java.util.List<java.lang.String> getPropertySetRefs()

getExtendedPropertySetRefs

public java.util.List<java.lang.String> getExtendedPropertySetRefs()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toCompositeType

public static javax.management.openmbean.CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class.
Returns:
CompositeType assiciated with this class.

toCompositeData

public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. This ensure that clients that do not have access to the model specific class can still use the MBean.
Parameters:
ct - - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.
Returns:
CompositeData which represents this class

from

public static PortableServiceInstance from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance.
Parameters:
cd - Composite Data which has information regarding the object
Returns:
Object of this specific class got after retrieving information from the Composite Data

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setLocation

public void setLocation(java.lang.String location)
returns service location.
Parameters:
location -

getLocation

public java.lang.String getLocation()
returns the service location.
Returns:
the service location

Skip navigation links

Oracle Fusion Middleware MBeans Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14651-04


Copyright © 2011, Oracle. All rights reserved.