public class ConfigurationLoader extends java.lang.Object implements ConfigurationLoaderMBean, javax.management.MBeanRegistration
Constructor and Description |
---|
ConfigurationLoader() |
ConfigurationLoader(ConfigurationBuilder builder) |
ConfigurationLoader(javax.management.MBeanServer server) |
ConfigurationLoader(javax.management.MBeanServer server,
ConfigurationBuilder builder) |
Modifier and Type | Method and Description |
---|---|
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) |
public ConfigurationLoader()
public ConfigurationLoader(ConfigurationBuilder builder)
public ConfigurationLoader(javax.management.MBeanServer server)
public ConfigurationLoader(javax.management.MBeanServer server, ConfigurationBuilder builder)
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.MBeanRegistration
server
- The MBeanServer on which the MBean will be registered.name
- The ObjectName
of the MBean.ObjectName
of the registered MBean, must not be nulljava.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.MBeanRegistration
registered
- True if the registration was successful, false otherwise.public void preDeregister() throws java.lang.Exception
javax.management.MBeanRegistration
preDeregister
in interface javax.management.MBeanRegistration
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 postDeregister()
javax.management.MBeanRegistration
postDeregister
in interface javax.management.MBeanRegistration
public void startup(java.io.Reader source) throws ConfigurationException
startup
in interface ConfigurationLoaderMBean
ConfigurationException
public void shutdown() throws ConfigurationException
shutdown
in interface ConfigurationLoaderMBean
ConfigurationException