Class AgentsFactory


  • public class AgentsFactory
    extends java.lang.Object
    AgentsFactory is responsible for creating instances of services contained inside the com.vmware.nsx_policy.infra.sites.agents package and also has the subpackages reference to access respective subpackage services.

    • Method Detail

      • getFactory

        public static AgentsFactory getFactory​(com.vmware.vapi.bindings.StubFactory stubFactory,
                                               com.vmware.vapi.bindings.StubConfiguration stubConfig)
        Creates the new instance of this class with provided configuration
        Parameters:
        stubFactory - StubFactory instance is responsible for creating stubs
        stubConfig - StubConfiguration instance is required to authenticate the request
        Returns:
        AgentsFactory factory instance
      • metricsService

        public Metrics metricsService()
        Returns an instance of class Metrics
      • updateStubConfiguration

        public void updateStubConfiguration​(com.vmware.vapi.bindings.StubFactory stubFactory,
                                            com.vmware.vapi.bindings.StubConfiguration stubConfig)