Package com.portal.app.ccare.comp
Class ConnectionFactory
java.lang.Object
com.portal.app.ccare.comp.ConnectionFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the Application Namestatic PCachedContextRetrieves an Portal connection appropriate for the client calling this method.static voidReturns the connection to the Context.
-
Constructor Details
-
ConnectionFactory
public ConnectionFactory()
-
-
Method Details
-
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
Returns the connection to the Context. -
getAppName
Returns the Application Name
-