Class AbstractJMXMBean

    • Constructor Detail

      • AbstractJMXMBean

        public AbstractJMXMBean()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • activateTenant

        protected void activateTenant()
        Activates the tenant which was active when registering the current bean.
      • deactivateTenant

        protected void deactivateTenant()
        Deactivate the current tenant for the current MBean.
      • getObjectName

        public javax.management.ObjectName getObjectName()
                                                  throws javax.management.MalformedObjectNameException,
                                                         java.lang.NullPointerException
        Returns a ObjectName and catches exceptions if any occures.
        Returns:
        null if any exception happend.
        Throws:
        java.lang.NullPointerException
        javax.management.MalformedObjectNameException
      • isJNDIContextAware

        protected boolean isJNDIContextAware()
      • setJmxPath

        public void setJmxPath​(java.lang.String jmxPath)
        Injected by Spring as mandatory attribute. The path should be in the following style: key1=value1, key2=value2. Each key/value pair is one level in the jconsole. The last key/value pair is the node itself. Must not return an empty String!
        Overrides:
        setJmxPath in class JMXBindableTenantAwareObject
      • setBeanInterface

        public void setBeanInterface​(java.lang.Class beanInterface)
        interface type for jmx bean api
      • getBeanInterface

        public java.lang.Class getBeanInterface()
        interface type for jmx bean api