public class PortableGrantee
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PortableGrantee(PortablePrincipal[] arrPrincipals, PortableCodeSource cs)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PortableGrantee |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance.
|
PortableCodeSource |
getPortableCodeSource() |
PortablePrincipal[] |
getPortablePrincipals() |
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 PortableGrantee(PortablePrincipal[] arrPrincipals, PortableCodeSource cs)
arrPrincipals - Array which contains the Principalscs - Code Sourcepublic PortablePrincipal[] getPortablePrincipals()
public PortableCodeSource getPortableCodeSource()
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 PortableGrantee from(javax.management.openmbean.CompositeData cd)
cd - Composite Data which has information regarding the object