Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.common.ampool
Interface ConnectionStrategy

All Known Implementing Classes:
DefaultConnectionStrategy

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.

See Also:
ApplicationPoolImpl

Field Summary
static java.lang.String APPLICATION_MODULE_CLASS_NAME_PROPERTY
           
static java.lang.String DB_CONNECT_STRING_PROPERTY
          Deprecated. use oracle.jbo.client.Configuration.DB_CONNECT_STRING_PROPERTY instead. Since 9.0.4.
static java.lang.String DB_PASSWORD_PROPERTY
          Deprecated. use oracle.jbo.client.Configuration.DB_PASSWORD_PROPERTY instead. Since 9.0.4.
static java.lang.String DB_USERNAME_PROPERTY
          Deprecated. use oracle.jbo.client.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

DB_USERNAME_PROPERTY

public static final java.lang.String DB_USERNAME_PROPERTY
Deprecated. use oracle.jbo.client.Configuration.DB_USERNAME_PROPERTY instead. Since 9.0.4.

See Also:
Constant Field Values

DB_PASSWORD_PROPERTY

public static final java.lang.String DB_PASSWORD_PROPERTY
Deprecated. use oracle.jbo.client.Configuration.DB_PASSWORD_PROPERTY instead. Since 9.0.4.

See Also:
Constant Field Values

DB_CONNECT_STRING_PROPERTY

public static final java.lang.String DB_CONNECT_STRING_PROPERTY
Deprecated. use oracle.jbo.client.Configuration.DB_CONNECT_STRING_PROPERTY instead. Since 9.0.4.

See Also:
Constant Field Values

APPLICATION_MODULE_CLASS_NAME_PROPERTY

public static final java.lang.String APPLICATION_MODULE_CLASS_NAME_PROPERTY
See Also:
Constant Field Values
Method Detail

createApplicationModule

public ApplicationModule createApplicationModule(java.util.Hashtable environment)
Create an application module. This operation is included in the connection strategy interface because location of an application module's home object may require a connection to another JNDI context.

Parameters:
environment - the environment which is to be used to locate the application module home. Typically derived from the application module configuration.

createApplicationModule

public ApplicationModule createApplicationModule(SessionCookie cookie,
                                                 EnvInfoProvider envInfo)
Create an application module. This operation is included in the connection strategy interface because location of an application module's home object may require a connection to another JNDI context.


connect

public void connect(ApplicationModule applicationModule,
                    SessionCookie cookie,
                    EnvInfoProvider envInfo)
Connect an application module.


reconnect

public void reconnect(ApplicationModule applicationModule,
                      SessionCookie cookie,
                      EnvInfoProvider envInfo)
Reconnect an application module


disconnect

public void disconnect(ApplicationModule applicationModule,
                       boolean retainState,
                       SessionCookie cookie)
Disconnect an application module


Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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