Business Components

oracle.jbo.uicli.jui
Class JUEnvInfoProvider

java.lang.Object
  |
  +--oracle.jbo.uicli.jui.JUEnvInfoProvider
All Implemented Interfaces:
EnvInfoProvider

public class JUEnvInfoProvider
extends java.lang.Object
implements EnvInfoProvider


Constructor Summary
JUEnvInfoProvider()
           
 
Method Summary
TypeMethod
 java.lang.Object getInfo(java.lang.String info, java.lang.Object environment)
          Invoked when the application pool is establishing a connection to the database.
 int getNumOfRetries()
          Returns the number times that the default connection strategy should attempt to create/connect and application module instance before failing.
 void modifyInitialContext(java.lang.Object environment)
          Invoked when the application pool is creating a new application module instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUEnvInfoProvider

public JUEnvInfoProvider()
Method Detail

getInfo

public java.lang.Object getInfo(java.lang.String info,
                                java.lang.Object environment)
Description copied from interface: EnvInfoProvider
Invoked when the application pool is establishing a connection to the database.
Specified by:
getInfo in interface EnvInfoProvider
Following copied from interface: oracle.jbo.common.ampool.EnvInfoProvider
Parameters:
info - a string representing the info required by the DefaultConnectionStrategy.
environment - a Properties object containing the environment that will be passed to oracle.jbo.Transaction.connect(String, Properties)
Returns:
A not null value indicates that getInfo was successful. The instance that the return value references is ignored by the DefaultConnectionStrategy.

modifyInitialContext

public void modifyInitialContext(java.lang.Object environment)
Description copied from interface: EnvInfoProvider
Invoked when the application pool is creating a new application module instance. The environment hashtable may be modified by the EnvInfoProvider to provide dynamic application module context.
Specified by:
modifyInitialContext in interface EnvInfoProvider

getNumOfRetries

public int getNumOfRetries()
Description copied from interface: EnvInfoProvider
Returns the number times that the default connection strategy should attempt to create/connect and application module instance before failing.
Specified by:
getNumOfRetries in interface EnvInfoProvider

Business Components