|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.ampool.DefaultConnectionStrategy
oracle.jbo.server.svc.ServiceConnectionStrategy
public class ServiceConnectionStrategy
Field Summary |
---|
Fields inherited from class oracle.jbo.common.ampool.DefaultConnectionStrategy |
---|
LAST_EXCEPTION |
Fields inherited from interface oracle.jbo.common.ampool.ConnectionStrategy |
---|
APPLICATION_MODULE_CLASS_NAME_PROPERTY, DB_CONNECT_STRING_PROPERTY, DB_PASSWORD_PROPERTY, DB_USERNAME_PROPERTY |
Constructor Summary | |
---|---|
ServiceConnectionStrategy()
|
Method Summary | |
---|---|
void |
disconnect(ApplicationModule applicationModule,
boolean retainState,
SessionCookie cookie)
Disconnect an application module |
void |
reconnect(ApplicationModule applicationModule,
SessionCookie cookie,
EnvInfoProvider envInfo)
Reconnect an application module |
Methods inherited from class oracle.jbo.common.ampool.DefaultConnectionStrategy |
---|
connect, createApplicationModule, createApplicationModule, doHandleDatabaseState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceConnectionStrategy()
Method Detail |
---|
public void disconnect(ApplicationModule applicationModule, boolean retainState, SessionCookie cookie)
ConnectionStrategy
disconnect
in interface ConnectionStrategy
disconnect
in class DefaultConnectionStrategy
applicationModule
- 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)
ConnectionStrategy
reconnect
in interface ConnectionStrategy
reconnect
in class DefaultConnectionStrategy
applicationModule
- 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.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |