Class JolokiaServiceManagerFactory

java.lang.Object
org.jolokia.server.core.service.JolokiaServiceManagerFactory

public final class JolokiaServiceManagerFactory extends Object
Factory class for creating a JolokiaServiceManager. It's a factory in the classical sense providing a single static method. There will be very, very likely never any other implementation of a JolokiaServiceManager.
Since:
27.02.14
Author:
roland
  • Method Details

    • createJolokiaServiceManager

      public static JolokiaServiceManager createJolokiaServiceManager(Configuration pConfig, LogHandler pLogHandler, Restrictor pRestrictor)
      Create the implementation of a service manager
      Parameters:
      pConfig - configuration to use
      pLogHandler - the logger
      pRestrictor - restrictor to apply
    • createJolokiaServiceManager

      public static JolokiaServiceManager createJolokiaServiceManager(Configuration pConfig, LogHandler pLogHandler, Restrictor pRestrictor, ServerDetectorLookup pDetectorLookup)
      Create the implementation of a service manager with an additional hook for adding server detectors
      Parameters:
      pConfig - configuration to use
      pLogHandler - the logger
      pRestrictor - restrictor to apply
      pDetectorLookup - lookup class used for finding detectors when the service manager starts up