Package io.hawt.jmx
Class RBACRegistry
- java.lang.Object
-
- io.hawt.jmx.RBACRegistry
-
- All Implemented Interfaces:
RBACRegistryMBean
public class RBACRegistry extends 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()Map<String,Object>list()ReturnsMap(that can be nicely handled by Jolokia) containing everything that is initially needed by hawtio client application.
-
-
-
Method Detail
-
list
public Map<String,Object> list() throws Exception
Description 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:
Exception
-
-