org.apache.wicket.jmx
Class Initializer
java.lang.Object
org.apache.wicket.jmx.Initializer
- All Implemented Interfaces:
- IDestroyer, IInitializer
public class Initializer
- extends java.lang.Object
- implements IInitializer, IDestroyer
Registers Wicket's MBeans.
Users can specify the MBeanServer implementation in which to register the MBeans by setting the
org.apache.wicket.mbean.server.agentid property to the agent id of the MBeanServer
implementation they want, or by setting org.apache.wicket.mbean.server.class to
the mbean server class they want (if both are provided, and the agent id returns a server, that
one is used). This initializer will log an error when no mbean server with the provided agent id
can be found, and will then fall back to use the platform mbean server. When no agent id is
provided, the platform mbean server will be used.
- Author:
- eelcohillenius, David Hosier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Initializer
public Initializer()
destroy
public void destroy(Application application)
- Specified by:
destroy in interface IDestroyer
- See Also:
IDestroyer.destroy(org.apache.wicket.Application)
init
public void init(Application application)
- Specified by:
init in interface IInitializer
- See Also:
IInitializer.init(org.apache.wicket.Application)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.