|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--oracle.jbo.common.ampool.DefaultConnectionStrategy
A default strategy class for application module creation and connection.
| Field Summary | |
static java.lang.String |
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 | |
DefaultConnectionStrategy() | |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String LAST_EXCEPTION
| Constructor Detail |
public DefaultConnectionStrategy()
| Method Detail |
public ApplicationModule createApplicationModule(SessionCookie cookie, EnvInfoProvider envInfo)
ConnectionStrategycreateApplicationModule in interface ConnectionStrategypublic ApplicationModule createApplicationModule(java.util.Hashtable environment)
ConnectionStrategycreateApplicationModule in interface ConnectionStrategyenvironment - the environment which is to be used to locate the application module home. Typically derived from the application module configuration.public void connect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
ConnectionStrategyconnect in interface ConnectionStrategypublic void reconnect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
ConnectionStrategyreconnect in interface ConnectionStrategy
public void disconnect(ApplicationModule applicationModule,
boolean retainState,
SessionCookie cookie)
ConnectionStrategydisconnect in interface ConnectionStrategy
|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2003, Oracle. All rights reserved.