|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.internal.monitoring.jmx.ApplicationMXBeanImpl
public class ApplicationMXBeanImpl
MXBean implementing ApplicationMXBean MXBean interface.
| Constructor Summary | |
|---|---|
ApplicationMXBeanImpl(ApplicationStatistics applicationStatistics,
MBeanExposer mBeanExposer,
String parentName)
Create a new application MXBean and register it to the mbean server using mBeanExposer. |
|
| Method Summary | |
|---|---|
String |
getApplicationClass()
Get the application class used for configuration of Jersey application. |
String |
getApplicationName()
Get the application name. |
Map<String,String> |
getProperties()
Get the map of configuration properties converted to strings. |
Set<String> |
getProviderClasses()
Get classes of registered providers. |
Set<String> |
getRegisteredClasses()
Get a set of string names of resource classes registered by the user. |
Set<String> |
getRegisteredInstances()
Get a set of string names of classes of user registered instances. |
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 |
| Constructor Detail |
|---|
public ApplicationMXBeanImpl(ApplicationStatistics applicationStatistics,
MBeanExposer mBeanExposer,
String parentName)
mBeanExposer.
applicationStatistics - Application statistics which should be exposed.mBeanExposer - MBean exposer.parentName - Object name prefix of parent mbeans.| Method Detail |
|---|
public String getApplicationName()
ApplicationMXBean
getApplicationName in interface ApplicationMXBeanpublic String getApplicationClass()
ApplicationMXBeanapplication class used for configuration of Jersey application.
getApplicationClass in interface ApplicationMXBeanpublic Map<String,String> getProperties()
ApplicationMXBean
getProperties in interface ApplicationMXBeanpublic Date getStartTime()
ApplicationMXBean
getStartTime in interface ApplicationMXBeanpublic Set<String> getRegisteredClasses()
ApplicationMXBean
getRegisteredClasses in interface ApplicationMXBeanfor specification
of returned classes.public Set<String> getRegisteredInstances()
ApplicationMXBean
getRegisteredInstances in interface ApplicationMXBeanfor specification of returned instances.public Set<String> getProviderClasses()
ApplicationMXBean
getProviderClasses in interface ApplicationMXBeanfor specification
of returned classes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||