AgentFactory (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.admin.jmx, class: AgentFactory

Package org.apache.geode.admin.jmx

# Class AgentFactory

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

@Deprecated public class AgentFactory extends Object
Deprecated.
as of 7.0 use the `management` package instead
A factory class that creates JMX administration entities.

Since:
  GemFire 4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AgentFactory()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### AgentFactory

    public AgentFactory()
    Deprecated.

- ## Method Details

  - ### 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()`