|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionStrategy
Declares application module creation and connection operations.
This interface declares an application module factory and a set of strategies for complex, property-driven application module operations.
ApplicationPoolImpl
Field Summary | |
---|---|
static java.lang.String |
APPLICATION_MODULE_CLASS_NAME_PROPERTY |
static java.lang.String |
DB_CONNECT_STRING_PROPERTY Deprecated. use Configuration.DB_CONNECT_STRING_PROPERTY instead. Since 9.0.4. |
static java.lang.String |
DB_PASSWORD_PROPERTY Deprecated. use Configuration.DB_PASSWORD_PROPERTY instead. Since 9.0.4. |
static java.lang.String |
DB_USERNAME_PROPERTY Deprecated. use Configuration.DB_USERNAME_PROPERTY instead. Since 9.0.4. |
Method Summary | |
---|---|
void |
connect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo) Connect an application module. |
ApplicationModule |
createApplicationModule(java.util.Hashtable environment) Create an application module. |
ApplicationModule |
createApplicationModule(SessionCookie cookie, EnvInfoProvider envInfo) Create an application module. |
void |
disconnect(ApplicationModule applicationModule, boolean retainState, SessionCookie cookie) Disconnect an application module |
void |
reconnect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo) Reconnect an application module |
Field Detail |
---|
static final java.lang.String DB_USERNAME_PROPERTY
Configuration.DB_USERNAME_PROPERTY
instead. Since 9.0.4.
static final java.lang.String DB_PASSWORD_PROPERTY
Configuration.DB_PASSWORD_PROPERTY
instead. Since 9.0.4.
static final java.lang.String DB_CONNECT_STRING_PROPERTY
Configuration.DB_CONNECT_STRING_PROPERTY
instead. Since 9.0.4.
static final java.lang.String APPLICATION_MODULE_CLASS_NAME_PROPERTY
Method Detail |
---|
ApplicationModule createApplicationModule(java.util.Hashtable environment)
environment
- the environment which is to be used to locate the application module home. Typically derived from the application module configuration.ApplicationModule createApplicationModule(SessionCookie cookie, EnvInfoProvider envInfo)
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.void connect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
applicationModule
- the ApplicationModule instance that is to be connected.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.void reconnect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
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.void disconnect(ApplicationModule applicationModule, boolean retainState, SessionCookie cookie)
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.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |