Modifier and Type | Method and Description |
---|---|
java.util.Set<Permission> |
applicablePermissions()
Returns the set of Permissions that may be applied to this resource
Certain permissions are not applicable to particular types of resources.
|
boolean |
equals(java.lang.Object o) |
boolean |
exists() |
static JMXResource |
fromName(java.lang.String name)
Parses a role resource name into a RoleResource instance.
|
java.lang.String |
getName() |
java.lang.String |
getObjectName() |
IResource |
getParent()
Gets next resource in the hierarchy.
|
int |
hashCode() |
boolean |
hasParent()
Indicates whether or not this resource has a parent in the hierarchy.
|
static JMXResource |
mbean(java.lang.String name) |
static JMXResource |
root() |
java.lang.String |
toString() |
public static JMXResource mbean(java.lang.String name)
public static JMXResource fromName(java.lang.String name)
name
- Name of the data resource.public java.lang.String getName()
public java.lang.String getObjectName()
public static JMXResource root()
public IResource getParent()
IResource
public boolean hasParent()
IResource
public boolean exists()
public java.util.Set<Permission> applicablePermissions()
IResource
applicablePermissions
in interface IResource
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2009- The Apache Software Foundation