Class AgentFactory

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

  • @Deprecated
    public class AgentFactory
    extends java.lang.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

      All Methods Static Methods Concrete Methods Deprecated Methods 
      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 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()