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


Deprecated API

Deprecated Classes
oracle.jbo.html.databeans.ChartRenderer
          Please use Graph Tag 
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. 
oracle.jbo.http.SharedSessionCookieFactory
          since 9.0.5. Replaced by pool parameter: jbo.ampool.isuseexclusive

This class and its factory SharedSessionCookieFactory have been deprecated. The new pool parametre jbo.ampool.isuseexclusive may instead be used to configure an ApplicationPool to share an ApplicationModule instance between SessionCookie(s). This change has enabled better use of the other pool tuning parameters for shared instances.

Please see the oracle.jbo.pool.ResourcePool.isUseExclusive() javadoc for more information regarding this new pool parameter.

 

oracle.jbo.http.SharedSessionCookieImpl
          since 9.0.5. Replaced by pool parameter: jbo.ampool.isuseexclusive

This class and its factory SharedSessionCookieFactory * have been deprecated. The new pool parametre jbo.ampool.isuseexclusive may instead be used to configure an ApplicationPool to share an ApplicationModule instance between SessionCookie(s). This change has enabled better use of the other pool tuning parameters for shared instances.

Please see the oracle.jbo.pool.ResourcePool.isUseExclusive() javadoc for more information regarding this new pool parameter.

 

 

Deprecated Fields
oracle.adf.model.DataControlFactory.APP_PARAM_COOKIE_PROPERTIES
          use APP_PARAM_REQUEST_CONTEXT instead. 
oracle.jbo.rules.Variant.BINARY_STREAM
          use INPUTSTREAM. 
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.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 
oracle.jbo.ApplicationModule.SYNC_BATCH
          deprecated since 9.0.5. This mode should not be used by client. Batch mode operations should be performed through working set objects instead. 

 

Deprecated Methods
oracle.jbo.server.ViewObjectImpl.activateNewRowTracker(Element)
          since 9.0.3.3 
oracle.jbo.ApplicationModule.activateState(int, boolean)
          deprecated since 9.0.5. Use {@link #activateState(int, SessionData, int) with the PERSISTNENT_SNAPSHOT bit set and a null SessionData instead. 
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.ViewObjectImpl.activateState(ViewRowImpl, Element)
          since 9.0.3.3 use activateState(ViewRowSetImpl vrs...) 
oracle.jbo.server.ViewObjectImpl.activateState(ViewRowSetImpl, ViewRowImpl, Element)
          since 9.0.3.3 use activateState(ViewRowSetImpl vrs...) 
oracle.jbo.server.ViewObjectImpl.activateTransients(AttributeDefImpl[], Element)
          since 9.0.3.3 use activateTransients with ViewRowSetImpl 
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.uicli.jui.JUPanelValidationListener.beforeSetAttribute(JUPanelValidationEvent)
          since 9.0.5 use beforeSetAttribute(DCBindingContainerValidationListener) 
oracle.jbo.uicli.jui.JULovPanelInterface.bindRowSetIterator(RowSetIterator, String[])
          since 9.0.5 
oracle.jbo.uicli.jui.JUPanelBinding.callBeforeSaveTransaction(Transaction)
          since 9.0.5, Use callBeforeSaveTransaction(DCDataControl) 
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.adf.model.binding.DCDataControl.findOrCreateAccessorRowSetIterator(RowSetIterator, DCIteratorBinding, String, String)
          since 10.1.2 
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.adf.model.binding.DCBindingContainer.getApplicationModule()
          since 10.1.2. Use IteratorBinding.getDataControl() to get to the ApplicationModule in case of BC4J datacontrols. 
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.ApplicationModuleImpl.getClientProxyClassName(String)
          Platform specific proxies not required. Use getClientProxyClassName() instead. 
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.html.HtmlServices.getOrdObject(AttributeDef, OrdFileSource, Row, ApplicationModule, String)
          since 10.1.2 see oracle.ord.im.OrdDomainUtil 
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.server.DBTransactionImpl.isTrackNewAndModifiedRowsOnly()
          since 9.0.5.1 
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 instead. 
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.server.ViewObjectImpl.passivateTransients(ViewRowImpl, AttributeDefImpl[], Document, Element)
          since 9.0.3.3 use passivateTransients(ViewRowSetImpl vrs...) 
oracle.jbo.server.EntityImpl.populateAttribute(int, Object, boolean, boolean)
          since 9.0.5. Use populateAttribute(int index, Object value, boolean sendNotification, boolean markAsChanged, boolean saveOriginal) instead. 
oracle.adf.model.binding.DCIteratorBinding.processInputException()
          use processInputException(JboException); 
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.html.HtmlServices.registerORDrenderer(HttpSession)
          Since 10.1.2 
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.uicli.mom.JUMetaObjectManager.releaseApplicationObject(DCDataControl)
          since 10.1.2, use DCDataControl.release() instead to release a datacontrol from the bindings as well as from the business service. 
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.server.ViewRowSetImpl.removeRowHandle(Object)
          Since Jdeveloper 9.0.3. No replacement. No longer used. 
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.mom.JUMetaObjectManager.setBaseErrorHandler(JUErrorHandler)
          since 9.0.5.1, Use setErrorHandler instead. 
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.server.DBTransactionImpl.setTrackNewAndModifiedRowsOnly(boolean)
          since 9.0.5.1. This behavior is not optional anymore. 
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.http.HttpSessionCookieHelper.writeCookieValue(HttpServletResponse, String, String)
          use HttpSessionCookieHelper.writeCookieValue(HttpServletResponse, SessionCookie) instead. Deprecated since 10.1.2. writeCookieValue requires some additional SessionCookie context. 
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.server.DBTransactionImpl(String)
          Since 9.0.3. This constructor 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.DBTransactionImpl(String, Properties)
          Since 9.0.3. This constructor 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.DBTransactionImpl(String, String, String)
          Since 9.0.3. This constructor 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.DBTransactionImpl(String, String, String, Properties)
          Since 9.0.3. This constructor is no longer called to create a connected DBTransaction instance. Instead, DBTransactionImpl2 instance, created by create(), migrates from disconnected to connected state. 
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.binding.JUIteratorBinding(RowSetIterator)
          since 9.0.5.1 use constructor with DCDataControl 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.uicli.jui.JULovButtonBinding(Object, JUIteratorBinding, String[], RowSetIterator, String[], String[])
          since 10g, use the constructor with IteratorBinding instead of RowSetIterator 
oracle.jbo.uicli.jui.JULovButtonBinding(Object, JUIteratorBinding, String[], RowSetIterator, String[], String[], boolean, String, Point)
          since 10g, use the constructor with IteratorBinding instead of RowSetIterator 
oracle.jbo.uicli.jui.JUPanelValidationEvent(JUFormBinding, Transaction)
          since 9.0.5. use the constructor with datacontrol 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) 

 


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


 

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