org.apache.wicket.jmx
Class Initializer
java.lang.Object
org.apache.wicket.jmx.Initializer
- All Implemented Interfaces:
- org.apache.wicket.IDestroyer, org.apache.wicket.IInitializer
public class Initializer
- extends java.lang.Object
- implements org.apache.wicket.IInitializer, org.apache.wicket.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
|
Method Summary |
void |
destroy(org.apache.wicket.Application application)
|
void |
init(org.apache.wicket.Application application)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Initializer
public Initializer()
destroy
public void destroy(org.apache.wicket.Application application)
- Specified by:
destroy in interface org.apache.wicket.IDestroyer
- See Also:
IDestroyer.destroy(org.apache.wicket.Application)
init
public void init(org.apache.wicket.Application application)
- Specified by:
init in interface org.apache.wicket.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-2007 Apache Software Foundation. All Rights Reserved.