Class ConnectionFactory


  • public class ConnectionFactory
    extends java.lang.Object
    Holds the logic for how to construct a connection class. We allow the specific implementation of the connection class to change underneath the Connection interface. The specific implementation
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Connection newConnection()
      Constructs a connection class based on the system property com.vmware.connection.Connection=some.class.name
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConnectionFactory

        public ConnectionFactory()
    • Method Detail

      • newConnection

        public static Connection newConnection()
                                        throws java.lang.ClassNotFoundException,
                                               java.lang.IllegalAccessException,
                                               java.lang.InstantiationException
        Constructs a connection class based on the system property com.vmware.connection.Connection=some.class.name
        Returns:
        instance of a class that implements the Connection interface
        Throws:
        java.lang.ClassNotFoundException
        java.lang.IllegalAccessException
        java.lang.InstantiationException