Class JmxInformationFactory

java.lang.Object
org.apache.synapse.commons.jmx.JmxInformationFactory

public class JmxInformationFactory extends Object
Factory to create a JmxInformation based on given properties.
  • Method Details

    • createJmxInformation

      public static JmxInformation createJmxInformation(Properties properties, String defaultHostName)
      Factory method to create a JmxInformation instance based on given properties
      Parameters:
      properties - Properties to create and configure DataSource
      defaultHostName - the default host name tobe used in case of a the host name is not set
      Returns:
      DataSourceInformation instance