|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmx4j.tools.config.ConfigurationLoader
public class ConfigurationLoader
| Constructor Summary | |
|---|---|
ConfigurationLoader()
|
|
ConfigurationLoader(ConfigurationBuilder builder)
|
|
ConfigurationLoader(javax.management.MBeanServer server)
|
|
ConfigurationLoader(javax.management.MBeanServer server,
ConfigurationBuilder builder)
|
|
| Method Summary | |
|---|---|
void |
postDeregister()
Callback called just after the MBean has been successfully unregistered. |
void |
postRegister(java.lang.Boolean registered)
Callback called just after the MBean has been registered (successfully or not). |
void |
preDeregister()
Callback called just before MBean unregistration from the MBeanServer. |
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
Callback called just before MBean registration in the MBeanServer. |
void |
shutdown()
|
void |
startup(java.io.Reader source)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationLoader()
public ConfigurationLoader(ConfigurationBuilder builder)
public ConfigurationLoader(javax.management.MBeanServer server)
public ConfigurationLoader(javax.management.MBeanServer server,
ConfigurationBuilder builder)
| Method Detail |
|---|
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws java.lang.Exception
javax.management.MBeanRegistration
preRegister in interface javax.management.MBeanRegistrationserver - The MBeanServer on which the MBean will be registered.name - The ObjectName of the MBean.
ObjectName of the registered MBean, must not be null
java.lang.Exception - Any possible exception generated by this method will be caught
by the MBeanServer and re-thrown as an MBeanRegistrationException
to the client.public void postRegister(java.lang.Boolean registered)
javax.management.MBeanRegistration
postRegister in interface javax.management.MBeanRegistrationregistered - True if the registration was successful, false otherwise.
public void preDeregister()
throws java.lang.Exception
javax.management.MBeanRegistration
preDeregister in interface javax.management.MBeanRegistrationjava.lang.Exception - Any possible exception generated by this method will be caught
by the MBeanServer and re-thrown as an MBeanRegistrationException
to the client.public void postDeregister()
javax.management.MBeanRegistration
postDeregister in interface javax.management.MBeanRegistration
public void startup(java.io.Reader source)
throws ConfigurationException
startup in interface ConfigurationLoaderMBeanConfigurationException
public void shutdown()
throws ConfigurationException
shutdown in interface ConfigurationLoaderMBeanConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||