Package io.hawt.jmx

Class RBACRegistry

  • All Implemented Interfaces:
    RBACRegistryMBean

    public class RBACRegistry
    extends java.lang.Object
    implements RBACRegistryMBean

    Generally we do enhanced Jolokia list operation, 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.Logger LOG  
    • Constructor Summary

      Constructors 
      Constructor Description
      RBACRegistry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      void init()  
      java.util.Map<java.lang.String,​java.lang.Object> list()
      Returns Map (that can be nicely handled by Jolokia) containing everything that is initially needed by hawtio client application.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        public static org.slf4j.Logger LOG
    • Constructor Detail

      • RBACRegistry

        public RBACRegistry()
    • 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.Exception
        Description copied from interface: RBACRegistryMBean
        Returns Map (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:
        list in interface RBACRegistryMBean
        Returns:
        Throws:
        java.lang.Exception