Class JolokiaComponent
- java.lang.Object
-
- com.adaptris.core.management.MgmtComponentImpl
-
- com.adaptris.core.management.jolokia.JolokiaComponent
-
- All Implemented Interfaces:
ManagementComponent
public class JolokiaComponent extends MgmtComponentImpl
This class can be used for configuring and starting a Jetty webserver for the adapter.You must provide the jetty config file in the bootstrap.properties file for a Jetty instance to startup.
See the Jetty Guide for more information on configuration options.For adding webapps to the server the jettyWebappBase parameter can be used.
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.management.MgmtComponentImpl
log
-
-
Constructor Summary
Constructors Constructor Description JolokiaComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidinit(java.util.Properties properties)voidsetClassLoader(java.lang.ClassLoader classLoader)voidstart()Had to do some tricks for proper classloading.voidstop()
-
-
-
Method Detail
-
setClassLoader
public void setClassLoader(java.lang.ClassLoader classLoader)
-
init
public void init(java.util.Properties properties) throws java.lang.Exception- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.ExceptionHad to do some tricks for proper classloading.- Throws:
java.lang.Exception
-
stop
public void stop()
-
destroy
public void destroy() throws java.lang.Exception- Throws:
java.lang.Exception
-
-