public class ApplicationMXBeanImpl extends Object implements ApplicationMXBean
ApplicationMXBean MXBean interface.| Constructor and Description |
|---|
ApplicationMXBeanImpl(ApplicationInfo applicationInfo,
MBeanExposer mBeanExposer,
String parentName)
Create a new application MXBean and register it to the mbean server using
mBeanExposer. |
| Modifier and Type | Method and Description |
|---|---|
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).
|
public ApplicationMXBeanImpl(ApplicationInfo applicationInfo, MBeanExposer mBeanExposer, String parentName)
mBeanExposer.applicationInfo - Application info which should be exposed.mBeanExposer - MBean exposer.parentName - Object name prefix of parent mbeans.public String getApplicationName()
ApplicationMXBeangetApplicationName in interface ApplicationMXBeanpublic String getApplicationClass()
ApplicationMXBeanapplication class used for configuration of Jersey application.getApplicationClass in interface ApplicationMXBeanpublic Map<String,String> getProperties()
ApplicationMXBeangetProperties in interface ApplicationMXBeanpublic Date getStartTime()
ApplicationMXBeangetStartTime in interface ApplicationMXBeanpublic Set<String> getRegisteredClasses()
ApplicationMXBeangetRegisteredClasses in interface ApplicationMXBeanfor specification
of returned classes.public Set<String> getRegisteredInstances()
ApplicationMXBeangetRegisteredInstances in interface ApplicationMXBeanfor specification of returned instances.public Set<String> getProviderClasses()
ApplicationMXBeangetProviderClasses in interface ApplicationMXBeanfor specification
of returned classes.Copyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.