Class ApplicationMXBeanImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      ApplicationMXBeanImpl​(ApplicationInfo applicationInfo, MBeanExposer mBeanExposer, java.lang.String parentName)
      Create a new application MXBean and register it to the mbean server using mBeanExposer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getApplicationClass()
      Get the application class used for configuration of Jersey application.
      java.lang.String getApplicationName()
      Get the application name.
      java.util.Map<java.lang.String,​java.lang.String> getProperties()
      Get the map of configuration properties converted to strings.
      java.util.Set<java.lang.String> getProviderClasses()
      Get classes of registered providers.
      java.util.Set<java.lang.String> getRegisteredClasses()
      Get a set of string names of resource classes registered by the user.
      java.util.Set<java.lang.String> getRegisteredInstances()
      Get a set of string names of classes of user registered instances.
      java.util.Date getStartTime()
      Get the start time of the application (when application was initialized).
      • Methods inherited from class java.lang.Object

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

      • applicationName

        private final java.lang.String applicationName
      • applicationClass

        private final java.lang.String applicationClass
      • configurationProperties

        private final java.util.Map<java.lang.String,​java.lang.String> configurationProperties
      • startTime

        private final java.util.Date startTime
      • providers

        private final java.util.Set<java.lang.String> providers
      • registeredClasses

        private final java.util.Set<java.lang.String> registeredClasses
      • registeredInstances

        private final java.util.Set<java.lang.String> registeredInstances
    • Constructor Detail

      • ApplicationMXBeanImpl

        public ApplicationMXBeanImpl​(ApplicationInfo applicationInfo,
                                     MBeanExposer mBeanExposer,
                                     java.lang.String parentName)
        Create a new application MXBean and register it to the mbean server using mBeanExposer.
        Parameters:
        applicationInfo - Application info which should be exposed.
        mBeanExposer - MBean exposer.
        parentName - Object name prefix of parent mbeans.