| java.lang.Object org.apache.commons.modeler.modules.ModelerSource org.apache.commons.modeler.modules.MbeansSource
MbeansSource | public class MbeansSource extends ModelerSource implements MbeansSourceMBean(Code) | | This will create mbeans based on a config file.
The format is an extended version of MLET.
Classloading. We don't support any explicit classloader tag.
A ClassLoader is just an mbean ( it can be the standard MLetMBean or
a custom one ).
XXX add a special attribute to reference the loader mbean,
XXX figure out how to deal with private loaders
|
lastUpdate | long lastUpdate(Code) | | |
loaderLoaded | static boolean loaderLoaded(Code) | | |
updateInterval | long updateInterval(Code) | | |
getMBeans | public List getMBeans()(Code) | | Return the list of mbeans created by this source.
It can be used to implement runtime services.
|
save | public void save()(Code) | | Store the mbeans.
XXX add a background thread to store it periodically
|
setType | public void setType(String type)(Code) | | Used if a single component is loaded
Parameters: type - |
|
|