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()
ApplicationMXBean
getApplicationName
in interface ApplicationMXBean
public String getApplicationClass()
ApplicationMXBean
application class
used for configuration of Jersey application.getApplicationClass
in interface ApplicationMXBean
public Map<String,String> getProperties()
ApplicationMXBean
getProperties
in interface ApplicationMXBean
public Date getStartTime()
ApplicationMXBean
getStartTime
in interface ApplicationMXBean
public Set<String> getRegisteredClasses()
ApplicationMXBean
getRegisteredClasses
in interface ApplicationMXBean
for specification
of returned classes.
public Set<String> getRegisteredInstances()
ApplicationMXBean
getRegisteredInstances
in interface ApplicationMXBean
for specification of returned instances.
public Set<String> getProviderClasses()
ApplicationMXBean
getProviderClasses
in interface ApplicationMXBean
for specification
of returned classes.
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.