Package org.apache.wicket.jmx
Class Initializer
- java.lang.Object
-
- org.apache.wicket.jmx.Initializer
-
- All Implemented Interfaces:
IInitializer
public class Initializer extends Object implements IInitializer
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 settingorg.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
-
-
Constructor Summary
Constructors Constructor Description Initializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy(Application application)
void
init(Application application)
String
toString()
-
-
-
Constructor Detail
-
Initializer
public Initializer()
-
-
Method Detail
-
destroy
public void destroy(Application application)
- Specified by:
destroy
in interfaceIInitializer
- Parameters:
application
- The application loading the component
-
init
public void init(Application application)
- Specified by:
init
in interfaceIInitializer
- Parameters:
application
- The application loading the component
-
-