<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">

Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


Deprecated API

Deprecated Classes
oracle.jbo.common.Configuration
          since 5.0 Use Configuration instead. 
oracle.jbo.domain.DateDomain
          This class has been superceeded by Date.

An encapsulation of Oracle SQL DATE objects as immutable Domain objects. 

oracle.jbo.server.JavaTypeMapEntries
          since JDeveloper 5.0 Use oracle.jbo.common.OracleTypeMapEntries instead. 
oracle.jbo.uicli.jui.JUErrorHandlerDialog
          since 9.0.3 use oracle.jbo.uicli.controls.JUErrorHandlerDlg instead. 
oracle.jbo.uicli.jui.JULoginDialog
          since 9.0.3 use oracle.jbo.uicli.controls.JULoginDialog instead. 
oracle.jbo.server.NullDBTransactionImpl
          Since Jdeveloper 9.0.3. No replacement. 
oracle.jbo.server.OracleTypeMapEntries
          since JDeveloper 5.0 Use oracle.jbo.common.OracleTypeMapEntries instead. 

 

Deprecated Fields
oracle.jbo.server.util.Variant.BINARY_STREAM
          use INPUTSTREAM. 
oracle.jbo.common.ampool.ConnectionStrategy.DB_CONNECT_STRING_PROPERTY
          use oracle.jbo.client.Configuration.DB_CONNECT_STRING_PROPERTY instead. Since 9.0.4. 
oracle.jbo.client.Configuration.DB_DATASOURCE_PASSWD_PROPERTY
            
oracle.jbo.client.Configuration.DB_DATASOURCE_USERNAME_PROPERTY
            
oracle.jbo.common.ampool.ConnectionStrategy.DB_PASSWORD_PROPERTY
          use oracle.jbo.client.Configuration.DB_PASSWORD_PROPERTY instead. Since 9.0.4. 
oracle.jbo.common.ampool.ConnectionStrategy.DB_USERNAME_PROPERTY
          use oracle.jbo.client.Configuration.DB_USERNAME_PROPERTY instead. Since 9.0.4. 
oracle.jbo.ConnectionModeConstants.LOCAL
          Use JboContext instead. 
oracle.jbo.server.ViewObjectImpl.mUsePersColl
          Since Jdeveloper 9.0.3. No replacement 
oracle.jbo.common.PropertyMetadata.pDefault
          - use getDefault instead 
oracle.jbo.common.PropertyMetadata.pDescription
          - use getDescription instead 
oracle.jbo.common.PropertyMetadata.pGroup
          - use getGroup instead 
oracle.jbo.common.PropertyMetadata.pKeywords
          - use getKeywords instead 
oracle.jbo.common.PropertyMetadata.pName
          - use getName instead 
oracle.jbo.common.PropertyMetadata.pOwner
          - use getOwner instead 
oracle.jbo.ApplicationModule.REMOVE_SNAPSHOT
          use ApplicationModule.ACTIVATE_REMOVE_FLAG instead 

 

Deprecated Methods
oracle.jbo.server.ApplicationModuleImpl.activate(Session)
          Subclasses should implement customizations in ApplicationModuleImpl.prepareSession(Session) 
oracle.jbo.ApplicationModule.activateState(int, boolean)
          deprecated since 9.0.5. Use {@link activateState(int, SessionData, int) with the 
oracle.jbo.ApplicationModule.activateState(int, boolean, SessionData)
          deprecated since 9.0.5. Use {@link activateState(int, SessionData, int) with the PERSISTNENT_SNAPSHOT bit set instead. 
oracle.jbo.server.ViewDefImpl.addEntityUsage(String, String, boolean)
          since 9.0.3, use addEntityUsage() that takes readOnly flag as well. 
oracle.jbo.server.ViewDefImpl.addEntityUsage(String, String, boolean, String, String, String)
          since 9.0.3, use addEntityUsage() that takes readOnly flag as well. 
oracle.jdeveloper.html.HTMLForm.addMultilineTextField(String, String, String, String, String, String, String)
          since 5.0 Use syntax without sMaxLength instead. 
oracle.jbo.common.ampool.PoolMgr.addPool(ApplicationPool)
            
oracle.jbo.common.ampool.ApplicationPoolImpl.checkin(ApplicationModule)
          Replaced by: SessionCookie.releaseApplicationModule(int).

Application developers should invoke: SessionCookie.releaseApplicationModule(SessionCookie.SHARED_UNMANAGED_RELEASE_MODE) instead of this method. A session cookie instance may be acquired by invoking: ApplicationPoolImpl.createSessionCookie(String, String, Properties).

This change was necessary to support the SessionCookie interface. Please see: SessionCookie for more information about using SessionCookies with the application pool.

 

oracle.jbo.common.ampool.ApplicationPool.checkin(ApplicationModule)
          Replaced by: SessionCookie.releaseApplicationModule(int).

Application developers should invoke: SessionCookie.releaseApplicationModule(SessionCookie.SHARED_UNMANAGED_RELEASE_MODE) instead of this method. A session cookie instance may be acquired by invoking: ApplicationPool.createSessionCookie(String, String, Properties).

This change was necessary to support the SessionCookie interface. Please see: SessionCookie for more information about using SessionCookies with the application pool.

 

oracle.jbo.common.ampool.ApplicationPoolImpl.checkinWithSessionState(ApplicationModule)
          Replaced by: SessionCookie.releaseApplicationModule(boolean, boolean).

Application developers should invoke: SessionCookie.releaseApplicationModule(true, true)

instead of this method. A session cookie instance may be acquired by invoking: ApplicationPoolImpl.createSessionCookie(String, String, Properties).

This change was necessary to support the SessionCookie interface. Please see: SessionCookie

for more information about using SessionCookies with the application pool.

 

oracle.jbo.common.ampool.ApplicationPool.checkinWithSessionState(ApplicationModule)
          Replaced by: SessionCookie.releaseApplicationModule(int).

Application developers should invoke: SessionCookie.releaseApplicationModule(SessionCookie.SHARED_MANAGED_RELEASE_MODE)

instead of this method. A session cookie instance may be acquired by invoking: ApplicationPool.createSessionCookie(String, String, Properties).

This change was necessary to support the SessionCookie interface. Please see: SessionCookie

for more information about using SessionCookies with the application pool.

 

oracle.jbo.common.ampool.ApplicationPoolImpl.checkout()
          Replaced by: ApplicationModuleRef.useApplicationModule().

Application developers should invoke: SessionCookie.useApplicationModule()

instead of this method. A session cookie instance may be acquired by invoking: ApplicationPoolImpl.createSessionCookie(String, String, Properties).

This change was necessary to support the SessionCookie interface. Please see: SessionCookie for more information about using SessionCookies with the application pool.

 

oracle.jbo.common.ampool.ApplicationPool.checkout()
          Replaced by: ApplicationModuleRef.useApplicationModule().

Application developers should invoke: SessionCookie.useApplicationModule()

instead of this method. A session cookie instance may be acquired by invoking: ApplicationPool.createSessionCookie(String, String, Properties).

This change was necessary to support the SessionCookie interface. Please see: SessionCookie for more information about using SessionCookies with the application pool.

 

oracle.jbo.common.ampool.ApplicationPoolImpl.checkout(String)
          Replaced by: ApplicationModuleRef.useApplicationModule().

Application developers should invoke: SessionCookie.useApplicationModule()

instead of this method. A session cookie instance may be acquired by invoking: ApplicationPoolImpl.createSessionCookie(String, String, Properties).

This change was necessary to support the SessionCookie interface. Please see: SessionCookie

for more information about using SessionCookies with the application pool.

 

oracle.jbo.common.ampool.ApplicationPool.checkout(String)
          Replaced by: ApplicationModuleRef.useApplicationModule().

Application developers should invoke: SessionCookie.useApplicationModule()

instead of this method. A session cookie instance may be acquired by invoking: ApplicationPool.createSessionCookie(String, String, Properties).

This change was necessary to support the SessionCookie interface. Please see: SessionCookie

for more information about using SessionCookies with the application pool.

 

oracle.jbo.common.ampool.ApplicationPoolImpl.connect(ApplicationModule, Hashtable)
          Replaced by oracle.jbo.common.ampool.ConnectionStrategy#connect(ApplicationModule, SessionCookie). All extending logic that was implemented here should be implemented in a custom ConnectionStrategy class that extends DefaultConnectionStrategy. 
oracle.jbo.server.NullDBTransactionImpl.connect(Connection)
            
oracle.jbo.server.DBTransactionImpl.connect(Connection)
            
oracle.jbo.server.DBTransaction.connect(Connection)
            
oracle.jbo.Transaction.connectToDataSource(String, String, String, String)
          Since Jdeveloper 9.0.2. No replacement 
oracle.jbo.server.DBTransactionImpl2.connectToDataSource(String, String, String, String)
          Since Jdeveloper 9.0.2 
oracle.jbo.Transaction.connectToDataSource(String, String, String, String, String, String)
          Since Jdeveloper 9.0.2. No replacement 
oracle.jbo.server.DBTransactionImpl2.connectToDataSource(String, String, String, String, String, String)
          Since Jdeveloper 9.0.2 
oracle.jbo.server.DatabaseTransactionFactory.create(Connection)
          Since 9.0.3. This method is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
oracle.jbo.server.DatabaseTransactionFactory.create(DataSource)
          Since 9.0.3. This method is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
oracle.jbo.server.DatabaseTransactionFactory.create(DataSource, String, String)
          Since 9.0.3. This method is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
oracle.jbo.server.DatabaseTransactionFactory.create(String)
          Since 9.0.3. This method is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
oracle.jbo.server.DatabaseTransactionFactory.create(String, Properties)
          Since 9.0.3. This method is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
oracle.jbo.server.DatabaseTransactionFactory.create(String, String, String)
          Since 9.0.3. This method is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
oracle.jbo.server.DatabaseTransactionFactory.create(String, String, String, Properties)
          Since 9.0.3. This method is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
oracle.jbo.html.databeans.EditCurrentRecord.createDefaultFieldRenderers()
          Deprecated since 5.0. Field renderer are now created lazily 
oracle.jbo.common.ampool.ApplicationPoolImpl.createNewInstance()
          Replaced by ConnectionStrategy.createApplicationModule(SessionCookie, EnvInfoProvider). All extending logic that was implemented here should be implemented in a custom ConnectionStrategy class that extends: DefaultConnectionStrategy.

 

oracle.jbo.common.ampool.ApplicationPool.createNewInstance()
          Replaced by ConnectionStrategy.createApplicationModule(SessionCookie, EnvInfoProvider). All extending logic that was implemented here should be implemented in a custom ConnectionStrategy class that extends: DefaultConnectionStrategy.

 

oracle.jbo.server.DatabaseTransactionFactory.createNullTransaction()
          Since 9.0.3. This method is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(String)
          applications should use oracle.jbo.common.ampool.PoolMgr.findPool directly or should rely upon createApplicationObject to create a pool using the fully qualified ApplicationModule definition name. 
oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(String, Properties)
          applications should use oracle.jbo.common.ampool.PoolMgr.findPool directly or should rely upon createApplicationObject to create a pool using the fully qualified ApplicationModule definition name. 
oracle.jbo.server.ApplicationModuleImpl.createXMLSharedDataHandle()
          This method was to be used in conjunction with Java-in-the-database configuration which is no longer supported. 
oracle.jbo.common.ampool.ApplicationPoolImpl.disconnect(ApplicationModule, boolean, Hashtable)
          Replaced by ConnectionStrategy.disconnect(ApplicationModule, boolean, SessionCookie). All extending logic that was implemented here should be implemented in a custom ConnectionStrategy class that extends DefaultConnectionStrategy. 
oracle.jbo.server.EntityAssociation.getAccessorByEndName(String)
          Deprecated since 5.0. Instead, use AssociationDefBase.findEndAccessorByName(). 
oracle.jbo.server.EntityDefImpl.getAllEntityInstances(DBTransaction)
          since 5.0 use getAllEntityInstancesIterator. 
oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleFromContexts(String, HttpSession, PageContext)
          application developers should use the following sample to acquire an ApplicationModule instead of getAppModuleFromContexts (assumes that the ApplicationModule instance was acquired with a SessionCookie, see getAppModuleInstance for more information):

HttpContainer container = HttpContainer.getInstanceFromSession(session); SessionCookie cookie = container.getSessionCookies(applicationId); ApplicationModule am = cookie.useApplicationModule();

where the applicationId is the id that was used when the SessionCookie was created (see getAppModuleInstance).

 

oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleFromSession(String, HttpSession)
          application developers should use the following sample to acquire an ApplicationModule instead of getAppModuleFromContexts (assumes that the ApplicationModule instance was acquired with a SessionCookie, see getAppModuleInstance for more information):

HttpContainer container = HttpContainer.getInstanceFromSession(session); SessionCookie cookie = container.getSessionCookies(applicationId); ApplicationModule am = cookie.useApplicationModule();

where the applicationId is the id that was used when the SessionCookie was created (see getAppModuleInstance).

 

oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleFromSession(String, String, HttpSession)
          application developers should use the following sample to acquire an ApplicationModule instead of getAppModuleFromContexts (assumes that the ApplicationModule instance was acquired with a SessionCookie, see getAppModuleInstance for more information):

HttpContainer container = HttpContainer.getInstanceFromSession(session); SessionCookie cookie = container.getSessionCookies(applicationId); ApplicationModule am = cookie.useApplicationModule();

where the applicationId is the id that was used when the SessionCookie was created (see getAppModuleInstance).

 

oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(String, HttpServletRequest, HttpServletResponse, HttpSession)
          application developers should use the following sample to acquire an ApplicationModule instead of getAppModuleInstance:

// Load the pool creation properties with the name of our custom // application pool class. Properties cookieProps = new Properties(); cookieProps.put(HttpSessionCookieFactory.HTTP_SERVLET_REQUEST, request); // Find a session cookie in the HttpSession for the specified // application id. If one does not exist this method will create one. SessionCookie cookie = HttpContainer.findSessionCookie( session , applicationId , configName // poolName , configPackage , configName , null // pool properties , cookieProps); ApplicationModule appModule = cookie.useApplicationModule();

where configPackage is the fully qualified package name of the ApplicationModule.

For more information please see the pooling sample at "$JDEV_HOME/BC4J/samples/Pooling".

 

oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(String, HttpServletRequest, HttpSession)
          application developers should use the following sample to acquire an ApplicationModule instead of getAppModuleInstance:

// Load the pool creation properties with the name of our custom // application pool class. Properties cookieProps = new Properties(); cookieProps.put(HttpSessionCookieFactory.HTTP_SERVLET_REQUEST, request); // Find a session cookie in the HttpSession for the specified // application id. If one does not exist this method will create one. SessionCookie cookie = HttpContainer.findSessionCookie( session , applicationId , configName // poolName , configPackage , configName , null // pool properties , cookieProps); ApplicationModule appModule = cookie.useApplicationModule();

where configPackage is the fully qualified package name of the ApplicationModule.

For more information please see the pooling sample at "$JDEV_HOME/BC4J/samples/Pooling".

 

oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(String, PageContext)
          application developers should use the following sample to acquire an ApplicationModule instead of getAppModuleInstance:

// Load the pool creation properties with the name of our custom // application pool class. Properties cookieProps = new Properties(); cookieProps.put(HttpSessionCookieFactory.HTTP_SERVLET_REQUEST, request); // Find a session cookie in the HttpSession for the specified // application id. If one does not exist this method will create one. SessionCookie cookie = HttpContainer.findSessionCookie( session , applicationId , configName // poolName , configPackage , configName , null // pool properties , cookieProps); ApplicationModule appModule = cookie.useApplicationModule();

where configPackage is the fully qualified package name of the ApplicationModule.

For more information please see the pooling sample at "$JDEV_HOME/BC4J/samples/Pooling".

 

oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(String, String, PageContext)
          application developers should use the following sample to acquire an ApplicationModule instead of getAppModuleInstance:

// Load the pool creation properties with the name of our custom // application pool class. Properties cookieProps = new Properties(); cookieProps.put(HttpSessionCookieFactory.HTTP_SERVLET_REQUEST, request); // Find a session cookie in the HttpSession for the specified // application id. If one does not exist this method will create one. SessionCookie cookie = HttpContainer.findSessionCookie( session , applicationId , configName // poolName , configPackage , configName , null // pool properties , cookieProps); ApplicationModule appModule = cookie.useApplicationModule();

where configPackage is the fully qualified package name of the ApplicationModule.

For more information please see the pooling sample at "$JDEV_HOME/BC4J/samples/Pooling".

 

oracle.jbo.server.EntityAssociation.getAssociationEnd(String)
          Deprecated since 5.0. Instead, use AssociationDefBase.findEndByName(). 
oracle.jbo.html.DataSourceImpl.getAttributeLabel(RowSet, AttributeDef)
          Deprecated since 9.0.3. Instead, use JboUtil.getAttributeLabel(RowSet rs, AttributeDef attrDef). 
oracle.jbo.common.ampool.ApplicationPoolImpl.getAvailableNumPools()
          Replaced by ApplicationPoolImpl.getAvailableInstanceCount() 
oracle.jbo.common.ampool.ApplicationPool.getAvailableNumPools()
          Replaced by ApplicationPool.getAvailableInstanceCount() 
oracle.jbo.uicli.controls.JUNavigationBar.getButtonIcon(int)
            
oracle.jbo.uicli.controls.JUNavigationBar.getButtonPressedIcon(int)
            
oracle.jbo.server.BaseSQLBuilderImpl.getColumnNameWithFormatForQuery(String, AttributeDef, int)
          since 9.0.3 
oracle.jbo.common.ampool.ApplicationPoolImpl.getConnectString()
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be acquired from the ApplicationPool or SessionCookie environment by using the ConnectionStrategy.DB_CONNECT_STRING_PROPERTY key.

 

oracle.jbo.common.ampool.ApplicationPool.getConnectString()
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be acquired from the ApplicationPool or SessionCookie environment by using the Configuration.DB_CONNECT_STRING_PROPERTY key.

 

oracle.jbo.server.EntityAssociation.getEntityDef()
          Deprecated since 5.0. Instead, use AssociationDefBase.getSourceOwner() and down cast it to EntityDefImpl. 
oracle.jbo.html.databeans.EditCurrentRecord.getFieldRenderer(String)
          Deprecated since 5.0. Use getDefaultFieldRenderer(AttributeDef attrDef); 
oracle.jbo.html.jsp.JSPApplicationRegistry.getHttpContainer(HttpSession)
          use HttpContainer.getInstanceFromSession(session) instead 
oracle.jbo.common.ampool.ApplicationPool.getInstance(int)
          Implementation detail. This method has been made protected. Pool clients should not access pooled instances directly. Use ApplicationModuleRef.useApplicationModule() to acquire ApplicationModule instances instead.

 

oracle.jbo.uicli.jui.JUButtonGroupBinding.getInstance(JUFormBinding, AbstractButton[], String, String, String, String, Object[])
          since 9.0.2 use createLovBinding() or createEnumerationBinding instead 
oracle.jbo.uicli.jui.JUButtonBinding.getInstance(JUFormBinding, AbstractButton, String, String, String, String)
          since 9.0.2 use createAttributeBinding or createBooleanBinding methods instead. 
oracle.jbo.uicli.jui.JULovButtonBinding.getInstance(JUFormBinding, AbstractButton, String, String, String, String[], String, String[], String[])
          since 9.0.2 use createLovBinding() 
oracle.jbo.uicli.jui.JUButtonBinding.getInstance(JUFormBinding, AbstractButton, String, String, String, String, Object[], boolean)
          since 9.0.2 use createAttributeBinding or createBooleanBinding methods instead. 
oracle.jbo.uicli.jui.JUComboBoxBinding.getInstance(JUFormBinding, JComboBox, String, String, String, String[], String, String[], String[], ListCellRenderer, ComboBoxEditor)
          since 9.0.2 use createEnumerationBinding, createNavigationBinding or createLovBinding instead 
oracle.jbo.uicli.jui.JUComboBoxBinding.getInstance(JUFormBinding, JComboBox, String, String, String, String, Object[])
          since 9.0.2 use createEnumerationBinding, createNavigationBinding or createLovBinding instead 
oracle.jbo.uicli.jui.JULabelBinding.getInstance(JUFormBinding, JLabel, String, String, String, String)
          since JDeveloper 9.0.2, use createAttributeBinding instead 
oracle.jbo.uicli.jui.JUListSingleSelBinding.getInstance(JUFormBinding, JList, String, String, String, String[], String)
          since 9.0.2 use createEnumerationBinding, createNavigationBinding or createLovBinding instead 
oracle.jbo.uicli.jui.JUListSingleSelBinding.getInstance(JUFormBinding, JList, String, String, String, String[], String, String[], String[], ListCellRenderer)
          since 9.0.2 use createEnumerationBinding, createNavigationBinding or createLovBinding instead 
oracle.jbo.uicli.jui.JUListSingleSelBinding.getInstance(JUFormBinding, JList, String, String, String, String, Object[])
          since 9.0.2 use createEnumerationBinding, createNavigationBinding or createLovBinding instead 
oracle.jbo.uicli.jui.JUScrollBarBinding.getInstance(JUFormBinding, JScrollBar, String, String, String, boolean, boolean)
          since 9.0.2 use createViewBinding method instead. 
oracle.jbo.uicli.jui.JUScrollBarAttrBinding.getInstance(JUFormBinding, JScrollBar, String, String, String, String, int, int, int)
          since 9.0.2 use createAttributeBinding method instead. 
oracle.jbo.uicli.jui.JUSliderAttrBinding.getInstance(JUFormBinding, JSlider, String, String, String, String, int, int, int)
          use createAttributeBinding method instead. 
oracle.jbo.uicli.jui.JUTextFieldBinding.getInstance(JUFormBinding, JTextComponent, String, String, String, String)
          since JDeveloper 9.0.2 
oracle.jbo.uicli.jui.JUTreeBinding.getInstance(JUFormBinding, JTree, String, String, String, JUCtrlHierTypeBinding[])
          since 9.0.2 
oracle.jbo.uicli.jui.JUButtonGroupBinding.getInstance(JUFormBinding, JUButtonGroupControlInterface, String, String, String, String, String, String)
          since 9.0.2 use createLovBinding() or createEnumerationBinding instead 
oracle.jbo.uicli.jui.JUDefaultControlBinding.getInstance(JUFormBinding, JUDefaultControlInterface, String, String, String, String)
          since 9.0.2 use createAttributeBinding() instead. 
oracle.jbo.uicli.jui.JUButtonBinding.getInstance(JUPanelBinding, Component, String, String, String, int)
          since 9.0.2 use createActionBinding method instead. 
oracle.jbo.uicli.jui.JUProgressBarBinding.getInstance(JUPanelBinding, JProgressBar, String, String, String, boolean, boolean)
          since 9.0.2 use createViewBinding method instead. 
oracle.jbo.uicli.jui.JUProgressBarAttrBinding.getInstance(JUPanelBinding, JProgressBar, String, String, String, String, int, int)
          since 9.0.2 use createAttributeBinding method instead. 
oracle.jbo.uicli.jui.JUSliderBinding.getInstance(JUPanelBinding, JSlider, String, String, String, boolean, boolean)
          since 9.0.2 use createViewBinding method instead. 
oracle.jbo.uicli.jui.JUTableBinding.getInstance(JUPanelBinding, JTable, String, String, String, String[])
          since 9.0.2 
oracle.jbo.html.databeans.EditCurrentRecord.getNLSFormat()
          As of Jdev9i, replaced by support for User Interface Hints. See documentation 
oracle.jbo.server.EntityAssociation.getOtherEntityDef()
          Deprecated since 5.0. Instead, use AssociationDefBase.getDestinationOwner() and down cast it to EntityDefImpl. 
oracle.jbo.common.ampool.ApplicationPoolImpl.getPassword()
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be acquired from the ApplicationPool or SessionCookie environment by using the Configuration.DB_PASSWORD_PROPERTY key.

 

oracle.jbo.common.ampool.ApplicationPool.getPassword()
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be acquired from the ApplicationPool or SessionCookie environment by using the Configuration.DB_PASSWORD_PROPERTY key.

 

oracle.jbo.common.ampool.PoolMgr.getPool(String)
            
oracle.jbo.common.ampool.ApplicationPoolImpl.getPoolName()
          Replaced by ApplicationPoolImpl.getName(). 
oracle.jbo.common.ampool.ApplicationPool.getPoolName()
          Replaced by ApplicationPool.getName(). 
oracle.jbo.common.ampool.PoolMgr.getPoolNames()
            
oracle.jbo.common.ampool.PoolMgr.getPools()
            
oracle.jbo.common.ampool.ApplicationPoolImpl.getUserName()
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be acquired from the ApplicationPool or SessionCookie environment by using the Configuration.DB_USERNAME_PROPERTY key.

 

oracle.jbo.common.ampool.ApplicationPool.getUserName()
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be acquired from the ApplicationPool or SessionCookie environment by using the Configuration.DB_USERNAME_PROPERTY key.

 

oracle.jbo.domain.DomainAttributeDef.getXMLContentNode(Document, Object, boolean)
          since 9.0.2 use the other getXMLContentNode() . 
oracle.jbo.common.ampool.SessionCookie.isActivationRequired()
          ApplicationDevelopers should instead override:

SessionCookie.isActivationRequired(ApplicationModule)

This method will still be invoked from the new method. 

oracle.jbo.common.ampool.ApplicationPoolImpl.isAvailable(ApplicationModule)
          Implementation detail. This method has been made protected. 
oracle.jbo.common.ampool.ApplicationPool.isAvailable(ApplicationModule)
          Implementation detail. This method has been made protected. 
oracle.jbo.common.ampool.ApplicationPoolImpl.isDoConnectionPooling()
          This property is specific to the SessionCookie. Extending logic should be migrated to a custom extension of: SessionCookieImpl.isConnectionPoolingEnabled()

 

oracle.jbo.common.ampool.ApplicationPoolImpl.isDoFailover()
          This property is specific to the SessionCookie. Extending logic should be migrated to a custom extension of: SessionCookieImpl.isFailoverEnabled()

 

oracle.jbo.common.ampool.EnvInfoProvider.modifyInitialContext(Object)
          EnvInfoProvider.getInfo(String, Object) should be implemented instead. 
oracle.jbo.ApplicationModule.passivateState(byte[])
          deprecated since 9.0.5. Use ApplicationModule.passivateState(byte[]) with the PERSISTNENT_SNAPSHOT bit set 
oracle.jbo.ApplicationModule.passivateState(int, byte[])
          deprecated since 9.0.5. Use {@link passivateState(int, byte[], int) with the PASSIVATE_TRANSIENT_FLAG not set instead. 
oracle.jbo.html.jsp.JSPApplicationRegistry.readSessionId(HttpServletRequest, String)
          the sessionId is now managed by the SessionCookie. Application developers wishing to override sessionId generation should create a custom SessionCookieFactory.

Application developers wishing to override how snapshot id(s) are stored and/or loaded should override:

{@link oracle.jbo.http.HttpSessionCookieImpl#writeValue(Object sink) {@link oracle.jbo.http.HttpSessionCookieImpl#readValue(Object source)

 

oracle.jbo.common.ampool.ApplicationPoolImpl.reconnect(ApplicationModule, Hashtable)
          Replaced by oracle.jbo.common.ampool.ConnectionStrategy#reconnect(ApplicationModule, SessionCookie). All extending logic that was implemented here should be implemented in a custom ConnectionStrategy class that extends DefaultConnectionStrategy. 
oracle.jbo.Transaction.reconnect(boolean)
          Deprecated since 3.2. Instead, use reconnect(). 
oracle.jbo.common.ampool.SessionCookie.releaseApplicationModule(boolean, boolean)
          since 9.0.3

Use SessionCookie.releaseApplicationModule(int) instead. Replace with the following flags for each checkin/manageState permutation:

checkin=true, manageState=true: SHARED_MANAGED_RELEASE_MODE checkin=true, manageState=false: SHARED_UNMANAGED_RELEASE_MODE checkin=false, manageState=true: RESERVED_MANAGED_RELEASE_MODE checkin=false, manageState=false: RESERVED_UNMANAGED_RELEASE_MODE 

oracle.jbo.common.ampool.SessionCookie.releaseApplicationModule(boolean, boolean, long)
          since 9.0.3

use SessionCookie.releaseApplicationModule(int, long) instead. Replace with the following flags each checkin/manageState permutation: checkin=true, manageState=true: SHARED_MANAGED_RELEASE_MODE checkin=true, manageState=false: SHARED_UNMANAGED_RELEASE_MODE checkin=false, manageState=true: RESERVED_MANAGED_RELEASE_MODE checkin=false, manageState=false: RESERVED_UNMANAGED_RELEASE_MODE 

oracle.jbo.common.ampool.ApplicationPool.releaseApplicationModule(SessionCookie, boolean)
          since 9.0.3

Use {@link #releaseApplicationModule(SessionCookie,int) instead. If state management is required then invoke:

releaseApplicationModule(cookie, SessionCookie.SHARED_MANAGED_RELEASE_MODE)

Otherwise invoke:

releaseApplicationModule(cookie, SessionCookie.SHARED_UNMANAGED_RELEASE_MODE)

 

oracle.jbo.html.jsp.JSPApplicationRegistry.releaseAppModuleInstance(ApplicationModule, ApplicationPool, HttpSession, HttpServletResponse, String)
          application developers should use the following sample to release an ApplicationModule instead of releaseAppModuleInstance (assumes that the ApplicationModule instance was acquired with a SessionCookie, see getAppModuleInstance for more information):

HttpContainer container = HttpContainer.getInstanceFromSession(session); SessionCookie cookie = container.getSessionCookies(applicationId); // only release the ApplicationModule if it was reserved if (cookie != null && cookie.isApplicationModuleReserved()) { if (<Reserved release mode>) { cookie.releaseApplicationModule( SessionCookie.UNSHARED , SessionCookie.STATE_UNMANAGED); } else if (<Stateful release mode>) { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_MANAGED); } else if (<Stateless release mode>) { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_UNMANAGED); } }  

oracle.jbo.html.jsp.JSPApplicationRegistry.releaseAppModuleInstance(ApplicationModule, ApplicationPool, PageContext, String)
          application developers should use the following sample to release an ApplicationModule instead of releaseAppModuleInstance (assumes that the ApplicationModule instance was acquired with a SessionCookie, see getAppModuleInstance for more information):

HttpContainer container = HttpContainer.getInstanceFromSession(session); SessionCookie cookie = container.getSessionCookies(applicationId); // only release the ApplicationModule if it was reserved if (cookie != null && cookie.isApplicationModuleReserved()) { if (<Reserved release mode>) { cookie.releaseApplicationModule( SessionCookie.UNSHARED , SessionCookie.STATE_UNMANAGED); } else if (<Stateful release mode>) { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_MANAGED); } else if (<Stateless release mode>) { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_UNMANAGED); } }  

oracle.jbo.html.jsp.JSPApplicationRegistry.releaseAppModuleInstance(String, ApplicationModule, ApplicationPool, HttpSession, HttpServletResponse, String)
          application developers should use the following sample to release an ApplicationModule instead of releaseAppModuleInstance (assumes that the ApplicationModule instance was acquired with a SessionCookie, see getAppModuleInstance for more information):

HttpContainer container = HttpContainer.getInstanceFromSession(session); SessionCookie cookie = container.getSessionCookies(applicationId); // only release the ApplicationModule if it was reserved if (cookie != null && cookie.isApplicationModuleReserved()) { if (<Reserved release mode>) { cookie.releaseApplicationModule( SessionCookie.UNSHARED , SessionCookie.STATE_UNMANAGED); } else if (<Stateful release mode>) { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_MANAGED); } else if (<Stateless release mode>) { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_UNMANAGED); } }  

oracle.jbo.html.jsp.JSPApplicationRegistry.releaseAppModuleInstance(String, HttpSession, HttpServletResponse, String)
          application developers should use the following sample to release an ApplicationModule instead of releaseAppModuleInstance (assumes that the ApplicationModule instance was acquired with a SessionCookie, see getAppModuleInstance for more information):

HttpContainer container = HttpContainer.getInstanceFromSession(session); SessionCookie cookie = container.getSessionCookies(applicationId); // only release the ApplicationModule if it was reserved if (cookie != null && cookie.isApplicationModuleReserved()) { if (<Reserved release mode>) { cookie.releaseApplicationModule( SessionCookie.UNSHARED , SessionCookie.STATE_UNMANAGED); } else if (<Stateful release mode>) { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_MANAGED); } else if (<Stateless release mode>) { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_UNMANAGED); } }  

oracle.jbo.common.ampool.ApplicationPoolImpl.releaseInstance(ApplicationModule)
            
oracle.jbo.common.ampool.ApplicationPoolImpl.releaseInstances()
          Replaced by ApplicationPoolImpl.removeResources(). Method may be confused with releaseResource.

 

oracle.jbo.common.ampool.ApplicationPool.releaseInstances()
          Replaced by: ResourcePool.removeResources(). Method

may be confused with releaseResource. 

oracle.jbo.common.ampool.PoolMgr.removePool(String)
            
oracle.jbo.ApplicationModule.reservePassivationId()
          deprecated since 9.0.5. Use ApplicationModule.reserveSnapshotId(int) with the PERSISTNENT_SNAPSHOT bit set instead. 
oracle.jbo.ApplicationModule.resetState(boolean)
          since 9.0.5. Use ApplicationModule.resetState(int) with the RESET_RELOAD_FLAG enabled instead. 
oracle.jbo.server.ConnectionPoolManager.returnConnection(String, Connection)
          This method has been replaced with ConnectionPoolManager.returnConnection(String, Connection, Properties). This was necessary to provide applications with additional information about the transaction which is returning the connection. 
oracle.jbo.uicli.controls.JUNavigationBar.setButtonIcon(int, Icon)
            
oracle.jbo.uicli.controls.JUNavigationBar.setButtonPressedIcon(int, Icon)
            
oracle.jbo.html.databeans.EditCurrentRecord.setMaximumFieldHeight(int)
          As of Jdev9i, replaced by support for User Interface Hints. See documentation 
oracle.jbo.html.databeans.EditCurrentRecord.setMaximumFieldWidth(int)
          As of Jdev9i, replaced by support for User Interface Hints. See documentation 
oracle.jbo.html.databeans.EditCurrentRecord.setNLSFormat(String)
          As of Jdev9i, replaced by support for User Interface Hints. See documentation 
oracle.jbo.common.ampool.ApplicationPoolImpl.setPassword(String)
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be set in the ApplicationPool or SessionCookie environment by using the Configuration.DB_PASSWORD_PROPERTY key.

 

oracle.jbo.common.ampool.ApplicationPool.setPassword(String)
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be set in the ApplicationPool or SessionCookie environment by using the Configuration.DB_PASSWORD_PROPERTY key.

 

oracle.jbo.html.databeans.EditCurrentRecord.setRowSet(RowSet)
          Deprecated since 5.0. RowSet is now defined with the DataSource 
oracle.jdeveloper.html.DataWebBeanImpl.setRowSet(RowSet)
          Deprecated since 5.0. RowSet is now defined with the DataSource 
oracle.jbo.common.ampool.ApplicationPoolImpl.setUserName(String)
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be set in the ApplicationPool or SessionCookie environment by using the Configuration.DB_USERNAME_PROPERTY key.

 

oracle.jbo.common.ampool.ApplicationPool.setUserName(String)
          This value should be passed to the pool connection strategy as SessionCookie environment or by implementing an EnvInfoProvider. The value may be set in the ApplicationPool or SessionCookie environment by using the Configuration.DB_USERNAME_PROPERTY key.

 

oracle.jbo.Key.toByteArray()
          Use toByteArray(boolean bSignature) instead 
oracle.jbo.Key.toStringFormat()
          Use toStringFormat(boolean bSignature) instead 
oracle.jbo.html.jsp.JSPApplicationRegistry.writeSessionId(HttpServletResponse, String, String)
          the sessionId is now managed by the SessionCookie. Application developers wishing to override sessionId generation should create a custom SessionCookieFactory.

Application developers wishing to override how snapshot id(s) are stored and/or loaded should override:

{@link oracle.jbo.http.HttpSessionCookieImpl#writeValue(Object sink) {@link oracle.jbo.http.HttpSessionCookieImpl#readValue(Object source)

 

 

Deprecated Constructors
oracle.jbo.DeadViewRowAccessException()
          Deprecated since 9.0.2. Instead, use DeadViewRowAccessException(Object). 
oracle.jbo.http.HttpContainer(Object)
          This class should not be instantiated directly. Use HttpContainer.getInstanceFromSession(HttpSession) instead. 
oracle.jbo.uicli.jui.JULoginDialog()
          since 9.0.3 use oracle.jbo.uicli.controls.JULoginDialog instead. 
oracle.jbo.uicli.jui.JULoginDialog(Frame, String, boolean)
          since 9.0.3 use oracle.jbo.uicli.controls.JULoginDialog instead. 
oracle.jbo.Key(byte[])
          Use Key(String, AttributeDefImpl) instead 
oracle.jbo.Key(String)
          Use Key(String, AttributeDefImpl) instead 
oracle.jbo.RowNotFoundException(RowSetIterator, Object)
          Deprecated since 5.0. Instead, use RowNotFoundException(RowSet, Object). 
oracle.jbo.TooManyObjectsException(Key)
          since 9.0.4 use TooManyObjectsException(String fullName, Key primaryKey) 

 


Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


 

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