Skip navigation links

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

E14651-03


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

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

All Implemented Interfaces:
java.io.Serializable

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

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

See Also:
Serialized Form

Constructor Summary
PortableServiceProvider(java.lang.String type, java.lang.String name, java.lang.String description, java.lang.String clazz)
           

 

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

 

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

 

Constructor Detail

PortableServiceProvider

public PortableServiceProvider(java.lang.String type,
                               java.lang.String name,
                               java.lang.String description,
                               java.lang.String clazz)
Parameters:
type -
name -
description -
clazz -

Method Detail

getClazz

public java.lang.String getClazz()
Returns:
Returns the clazz.

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

getName

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

getType

public java.lang.String getType()
Returns:
Returns the type.

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 PortableServiceProvider 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

Skip navigation links

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

E14651-03


Copyright © 2010, Oracle. All rights reserved.