Package io.hawt.jmx
Class RBACRegistry
- java.lang.Object
-
- io.hawt.jmx.RBACRegistry
-
- All Implemented Interfaces:
RBACRegistryMBean
public class RBACRegistry extends java.lang.Object implements RBACRegistryMBean
Generally we do enhanced Jolokia
listoperation, but if OSGi env is found we decorate the returned objects with RBAC information.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description RBACRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidinit()java.util.Map<java.lang.String,java.lang.Object>list()ReturnsMap(that can be nicely handled by Jolokia) containing everything that is initially needed by hawtio client application.
-
-
-
Method Detail
-
init
public void init() throws java.lang.Exception- Throws:
java.lang.Exception
-
destroy
public void destroy() throws java.lang.Exception- Throws:
java.lang.Exception
-
list
public java.util.Map<java.lang.String,java.lang.Object> list() throws java.lang.ExceptionDescription copied from interface:RBACRegistryMBeanReturnsMap(that can be nicely handled by Jolokia) containing everything that is initially needed by hawtio client application. It's an optimized and dedicated method that runs much faster than sequence of relevant Jolokia operations (LIST+EXEC with maxDepth=7).- Specified by:
listin interfaceRBACRegistryMBean- Returns:
- Throws:
java.lang.Exception
-
-