java.lang.Object
org.apache.wicket.jmx.Initializer
- All Implemented Interfaces:
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 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy
(Application application) void
init
(Application application) toString()
-
Constructor Details
-
Initializer
public Initializer()
-
-
Method Details
-
destroy
- Specified by:
destroy
in interfaceIInitializer
- Parameters:
application
- The application loading the component
-
init
- Specified by:
init
in interfaceIInitializer
- Parameters:
application
- The application loading the component
-
toString
-