AgentFactory (Apache Geode 1.15.4)

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

      @Deprecated
      public class AgentFactory
      extends 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.
      Returns:
        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.
      Parameters:
        `config` - the configuration with which to create the GemFire JMX administration agent
      Returns:
        an unstarted GemFire JMX administration agent
      Throws:
        `AdminException` - if the agent cannot be created
      See Also:
        `Agent.start()`