Class ConnectionFactory

java.lang.Object
com.portal.app.ccare.comp.ConnectionFactory

public class ConnectionFactory extends Object
  • Constructor Details

    • ConnectionFactory

      public ConnectionFactory()
  • Method Details

    • getConnection

      public static PCachedContext getConnection()
      Retrieves an Portal connection appropriate for the client calling this method. The BAS PClientServices instance being used is the determining factor. In the case of Customer Center, this method will return the main Portal connection established by BAS. In the case of WebKit, this method will return a connection instance from the connection pool.
    • returnConnection

      public static void returnConnection(PCachedContext conn)
      Returns the connection to the Context.
    • getAppName

      public static String getAppName()
      Returns the Application Name