org.apache.commons.modeler.modules
public class MbeansSource extends ModelerSource implements MbeansSourceMBean
Nested Class Summary | |
---|---|
static class | MbeansSource.ArgsInfo |
Field Summary | |
---|---|
Document | document |
long | lastUpdate |
static boolean | loaderLoaded |
boolean | loading |
static Log | log |
List | mbeans |
HashMap | object2Node |
Registry | registry |
String | type |
long | updateInterval |
Method Summary | |
---|---|
void | destroy() |
void | execute() |
String | getLocation() |
List | getMBeans() Return the list of mbeans created by this source.
|
Object | getSource() |
void | init() |
void | load() |
List | loadDescriptors(Registry registry, String location, String type, Object source) |
MbeansSource.ArgsInfo | processArg(Node mbeanN) |
void | processAttribute(MBeanServer server, Node descN, String objectName) |
void | save() Store the mbeans.
|
void | setLocation(String loc) |
void | setRegistry(Registry reg) |
void | setSource(Object source) |
void | setType(String type) Used if a single component is loaded
|
void | start() |
void | stop() |
void | updateField(ObjectName oname, String name, Object value) |
Parameters: type