Class SessionFactory


  • public class SessionFactory
    extends java.lang.Object
    SessionFactory is responsible for creating instances of services contained inside the com.vmware.nsx_policy.api.session 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
      Destroy destroyService()
      Returns an instance of class Destroy
      static SessionFactory 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 SessionFactory 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:
        SessionFactory factory instance
      • destroyService

        public Destroy destroyService()
        Returns an instance of class Destroy
      • updateStubConfiguration

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