public class JndiJmx extends BaseModelMBean implements javax.management.NotificationListener
Modifier and Type | Field and Description |
---|---|
protected javax.naming.Context |
componentContext |
protected javax.naming.Context |
configContext |
protected javax.naming.Context |
descriptorContext |
attributeBroadcaster, generalBroadcaster, info, oname, registry, resource, resourceType, source
Constructor and Description |
---|
JndiJmx()
Protected constructor to require use of the factory create method.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dumpStatus() |
void |
handleNotification(javax.management.Notification notification,
java.lang.Object handback) |
void |
init() |
void |
replay() |
void |
setComponentContext(javax.naming.Context ctx)
If a JNDI context is set, all components
will be registered in the context.
|
void |
setConfigContext(javax.naming.Context ctx)
JNDI context where attributes will be stored for persistence
|
void |
setDescriptorContext(javax.naming.Context ctx)
JNDI context for component descriptors ( metadata ).
|
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString
protected javax.naming.Context componentContext
protected javax.naming.Context descriptorContext
protected javax.naming.Context configContext
public JndiJmx() throws javax.management.MBeanException
javax.management.MBeanException
public void setComponentContext(javax.naming.Context ctx)
ctx
- public void setDescriptorContext(javax.naming.Context ctx)
ctx
- public void setConfigContext(javax.naming.Context ctx)
public void handleNotification(javax.management.Notification notification, java.lang.Object handback)
handleNotification
in interface javax.management.NotificationListener
public java.lang.String dumpStatus() throws java.lang.Exception
java.lang.Exception
public void replay() throws java.lang.Exception
java.lang.Exception
public void init() throws java.lang.Exception
java.lang.Exception
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.