public class ServiceConnectionStrategy extends DefaultConnectionStrategy
LAST_EXCEPTIONAPPLICATION_MODULE_CLASS_NAME_PROPERTY, DB_CONNECT_STRING_PROPERTY, DB_PASSWORD_PROPERTY, DB_USERNAME_PROPERTY| Constructor and Description |
|---|
ServiceConnectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect(ApplicationModule applicationModule,
boolean retainState,
SessionCookie cookie)
Disconnect an application module
|
void |
reconnect(ApplicationModule applicationModule,
SessionCookie cookie,
EnvInfoProvider envInfo)
Reconnect an application module
|
connect, createApplicationModule, createApplicationModule, doHandleDatabaseStatepublic void disconnect(ApplicationModule applicationModule, boolean retainState, SessionCookie cookie)
ConnectionStrategydisconnect in interface ConnectionStrategydisconnect in class DefaultConnectionStrategyapplicationModule - the ApplicationModule instance that is to
be disconnected.cookie - the SessionCookie instance that requested the
ApplicationModule
// * @param envInfo the SessionCookie EnvInfoProvider if it exists. This
// * parameter has been deprecated in 10.1.3. Applications should not
// * use this parameter. The EnvInfoProvider will still be invoked
// * by the ApplicationPool as documented in the EnvInfoProvider
// * interface.public void reconnect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
ConnectionStrategyreconnect in interface ConnectionStrategyreconnect in class DefaultConnectionStrategyapplicationModule - the ApplicationModule instance that is to
be reconnected.cookie - the SessionCookie instance that requested the
ApplicationModuleenvInfo - the SessionCookie EnvInfoProvider if it exists. This
parameter has been deprecated in 10.1.3. Applications should not
use this parameter. The EnvInfoProvider will still be invoked
by the ApplicationPool as documented in the EnvInfoProvider
interface.