org.apache.geode.admin.jmx

## Class AgentFactory

- java.lang.Object
- - org.apache.geode.admin.jmx.AgentFactory

- Deprecated.
  as of 7.0 use the `management` package instead

      public class AgentFactory
      extends java.lang.Object

  A factory class that creates JMX administration entities.
  Since:
    GemFire 4.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AgentFactory()` Deprecated.

  - ### Method Summary

    All Methods Static Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `static AgentConfig` | `defineAgent()` Deprecated. Defines a "default" GemFire JMX administration agent configuration.
    `static Agent` | `getAgent(AgentConfig config)` Deprecated. Creates an unstarted GemFire JMX administration agent with the given configuration.

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

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

- - ### Constructor Detail

    - #### AgentFactory

          public AgentFactory()

      Deprecated.

  - ### Method Detail

    - #### defineAgent

          public static AgentConfig defineAgent()

      Deprecated.
      Defines a "default" GemFire JMX administration agent configuration.

    - #### getAgent

          public static Agent getAgent(AgentConfig config)
                                throws AdminException

      Deprecated.
      Creates an unstarted GemFire JMX administration agent with the given configuration.
      Throws:
        `AdminException`
      See Also:
        `Agent.start()`