Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo.server.svc
Class ServiceConnectionStrategy

java.lang.Object
  extended by oracle.jbo.common.ampool.DefaultConnectionStrategy
      extended by oracle.jbo.server.svc.ServiceConnectionStrategy
All Implemented Interfaces:
ConnectionStrategy

public class ServiceConnectionStrategy
extends DefaultConnectionStrategy


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

ServiceConnectionStrategy

public ServiceConnectionStrategy()
Method Detail

disconnect

public void disconnect(ApplicationModule applicationModule,
                       boolean retainState,
                       SessionCookie cookie)
Description copied from interface: ConnectionStrategy
Disconnect an application module

Specified by:
disconnect in interface ConnectionStrategy
Overrides:
disconnect in class DefaultConnectionStrategy
Parameters:
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.

reconnect

public void reconnect(ApplicationModule applicationModule,
                      SessionCookie cookie,
                      EnvInfoProvider envInfo)
Description copied from interface: ConnectionStrategy
Reconnect an application module

Specified by:
reconnect in interface ConnectionStrategy
Overrides:
reconnect in class DefaultConnectionStrategy
Parameters:
applicationModule - the ApplicationModule instance that is to be reconnected.
cookie - the SessionCookie instance that requested the ApplicationModule
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.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

Copyright © 1997, 2011, Oracle. All rights reserved.