Class 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.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      void init​(java.util.Properties properties)  
      void start()
      Had to do some tricks for proper classloading.
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JolokiaComponent

        public JolokiaComponent()
    • Method Detail

      • init

        public void init​(java.util.Properties properties)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • start

        public void start()
                   throws java.lang.Exception
        Had 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