public class PortablePermission
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PortablePermission(java.lang.String permClzName, java.lang.String target, java.lang.String actions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object that) |
static PortablePermission |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance.
|
java.lang.String |
getActions() |
java.lang.String |
getPermissionClassName() |
java.lang.String |
getTarget() |
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() |
@ConstructorProperties(value={"permissionClassName","target","actions"})
public PortablePermission(java.lang.String permClzName,
java.lang.String target,
java.lang.String actions)
permClzName - Name of the Permission Class Name.target - Target Nameactions - Name of the actionspublic java.lang.String getActions()
public java.lang.String getPermissionClassName()
public java.lang.String getTarget()
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 PortablePermission 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