Package org.apache.synapse.commons.jmx

# 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 Summary

  Modifier and Type
  Method
  Description
  `static JmxInformation`
  `createJmxInformation(Properties properties, String defaultHostName)`
  Factory method to create a JmxInformation instance based on given properties

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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