public class JndiJmx extends BaseModelMBean implements NotificationListener
Modifier and Type | Field and Description |
---|---|
protected Context |
componentContext |
protected Context |
configContext |
protected 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 |
---|---|
String |
dumpStatus() |
void |
handleNotification(Notification notification,
Object handback) |
void |
init() |
void |
replay() |
void |
setComponentContext(Context ctx)
If a JNDI context is set, all components
will be registered in the context.
|
void |
setConfigContext(Context ctx)
JNDI context where attributes will be stored for persistence
|
void |
setDescriptorContext(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 Context componentContext
protected Context descriptorContext
protected Context configContext
public JndiJmx() throws MBeanException
MBeanException
public void setComponentContext(Context ctx)
ctx
- public void setDescriptorContext(Context ctx)
ctx
- public void setConfigContext(Context ctx)
public void handleNotification(Notification notification, Object handback)
handleNotification
in interface NotificationListener
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.