Skip navigation links

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

E14651-05


oracle.security.jps.mas.mgmt.jmx.policy
Class PortableGrant

java.lang.Object
  extended by oracle.security.jps.mas.mgmt.jmx.policy.PortableGrant

All Implemented Interfaces:
java.io.Serializable

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

Class to make a Grant as Serializable.

See Also:
Serialized Form

Constructor Summary
PortableGrant(PortableGrantee grantee, PortablePermission[] arrPerms)
          Constructor.

 

Method Summary
static PortableGrant from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance.
 PortableGrantee getGrantee()
           
 PortablePermission[] getPermissions()
           
 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

PortableGrant

public PortableGrant(PortableGrantee grantee,
                     PortablePermission[] arrPerms)
Constructor.
Parameters:
grantee - Grantee object.
arrPerms - Array of Permissions

Method Detail

getPermissions

public PortablePermission[] getPermissions()
Returns:
Returns the arrPermissions.

getGrantee

public PortableGrantee getGrantee()
Returns:
Returns the grantee.

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

Skip navigation links

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

E14651-05


Copyright © 2011, Oracle. All rights reserved.