Class ModelFactory


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

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ModelFactory getFactory​(com.vmware.vapi.bindings.StubFactory stubFactory, com.vmware.vapi.bindings.StubConfiguration stubConfig)
      Creates the new instance of this class with provided configuration
      void updateStubConfiguration​(com.vmware.vapi.bindings.StubFactory stubFactory, com.vmware.vapi.bindings.StubConfiguration stubConfig)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFactory

        public static ModelFactory 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:
        ModelFactory factory instance
      • updateStubConfiguration

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