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

Uses of Interface
oracle.jbo.ApplicationModule

Packages that use ApplicationModule
oracle.adf.model.bc4j   
oracle.adf.model.binding Contains the abstract implementation of ADFm binding objects. 
oracle.adf.model.generic   
oracle.jbo Contains interfaces for client-side applications. 
oracle.jbo.client   
oracle.jbo.client.remote   
oracle.jbo.client.remote.corba   
oracle.jbo.client.remote.ejb   
oracle.jbo.common Contains the implementation of components shared by thin clients and the middle tier. 
oracle.jbo.common.ampool   
oracle.jbo.common.ws   
oracle.jbo.domain   
oracle.jbo.html   
oracle.jbo.html.jsp Contains utitlity classes used by the Data Web Bean runtime. 
oracle.jbo.html.struts11 Contains classes to support BC4J for the model side of a Struts application. 
oracle.jbo.http   
oracle.jbo.server Contains the implementation of middle tier components. 
oracle.jbo.server.ejb   
oracle.jbo.server.remote   
oracle.jbo.server.remote.colo   
oracle.jbo.uicli.binding Contains JClient classes that handle interaction with BC4J objects for various JClient bindings. 
oracle.jbo.uicli.mom Contains classes that implement metadata management for JClient  
oracle.jdeveloper.html Contains classes for generating HTML code. 
 

Uses of ApplicationModule in oracle.adf.model.bc4j
 

Methods in oracle.adf.model.bc4j that return ApplicationModule
 ApplicationModule DCJboDataControl.getApplicationModule()
          Returns the associated oracle.jbo.ApplicationModule object
 

Constructors in oracle.adf.model.bc4j with parameters of type ApplicationModule
DCJboDataControl(ApplicationModule am)
          Constructor used internally by the framework to associate an application module with a JClient application object.
DCJboDataControl(DCDataControl parent, ApplicationModule am, java.lang.Object userData)
          Constructor to be used to create a nested DCDataControl inside another DCDataControl object.
 

Uses of ApplicationModule in oracle.adf.model.binding
 

Fields in oracle.adf.model.binding declared as ApplicationModule
protected  ApplicationModule DCIteratorBinding.mAM
           
protected  ApplicationModule DCBindingContainer.mDataProvider
           
 

Methods in oracle.adf.model.binding that return ApplicationModule
 ApplicationModule DCDataControl.getApplicationModule()
          For all nonbc4j Applications, this should return null.
 ApplicationModule DCControlBinding.getApplicationModule()
          Returns the Application Module to which this control's ViewObject belongs.
 ApplicationModule DCBindingContainer.getApplicationModule()
          Deprecated. since 10.1.2. Use IteratorBinding.getDataControl() to get to the ApplicationModule in case of BC4J datacontrols.
 

Methods in oracle.adf.model.binding with parameters of type ApplicationModule
abstract  DCIteratorBinding DCIteratorBindingDef.createIterBinding(BindingContext ctx, DCBindingContainer bindingContainer, ApplicationModule anchorAM)
           
 DCBindingContainer DCBindingContainerDef.createBindingContainer(ApplicationModule anchorAM)
           
 void DCBindingContainerDef.initializeBindingContainer(DCBindingContainer formBnd, ApplicationModule anchorAM)
           
 void DCBindingContainer.initializeFromDef(BindingContext ctx, ApplicationModule am)
          *** For internal framework use only ***
 void DCBindingContainer.setApplicationModule(ApplicationModule am)
          *** For internal framework use only *** Sets the ApplicationModule reference
 

Constructors in oracle.adf.model.binding with parameters of type ApplicationModule
DCIteratorBinding(ApplicationModule am, java.lang.String voName, java.lang.String rsiName, int rangeSize)
          Use this constructor if a usage needs a specific range size on the associated iterator.
DCIteratorBinding(ApplicationModule am, java.lang.String voName, java.lang.String rsiName)
          When the usage only needs one row at a time, use this constructor to create an iterator binding.
 

Uses of ApplicationModule in oracle.adf.model.generic
 

Methods in oracle.adf.model.generic that return ApplicationModule
 ApplicationModule RowImpl.getApplicationModule()
           
 

Uses of ApplicationModule in oracle.jbo
 

Methods in oracle.jbo that return ApplicationModule
 ApplicationModule RowSet.getApplicationModule()
          Gets the Row Set's Application Module that contains this Row Set.
 ApplicationModule ApplicationModuleHome.create()
          Creates an ApplicationModule.
 ApplicationModule ApplicationModuleHandle.useApplicationModule()
          Returns an application module instance.
static ApplicationModule ApplicationModuleFactory.create(java.lang.String instanceName, java.lang.String className, int mode, java.lang.String connectStr, int driver, int timeout)
           
static ApplicationModule ApplicationModuleFactory.create(java.lang.String deployPlatform, java.lang.String instanceName, java.lang.String className, int mode, java.lang.String connectStr, int driver, int timeout)
           
static ApplicationModule ApplicationModuleFactory.get(java.lang.String deploy, java.lang.String hostName, java.lang.String appName, int connectionMode, java.lang.String instanceName)
           
static ApplicationModule ApplicationModuleFactory.get(java.lang.String instance)
           
static ApplicationModule ApplicationModuleFactory.get(int mode, java.lang.String instance)
           
 ApplicationModule ApplicationModule.createApplicationModule(java.lang.String amName, java.lang.String defName)
          Creates a nested Application Module in this Application Module from the Application Module definition.
 ApplicationModule ApplicationModule.findApplicationModule(java.lang.String amName)
          Finds the named Application Module.
 

Methods in oracle.jbo with parameters of type ApplicationModule
 void RowValException.doEntityToVOMapping(ApplicationModule rootAm, ViewObject[] vos)
           
 void RowDMLException.doEntityToVOMapping(ApplicationModule rootAm, ViewObject[] vos)
           
 void JboException.setApplicationModule(ApplicationModule am)
           
 void JboException.doEntityToVOMapping(ApplicationModule rootAm, ViewObject[] vos)
           
 void AttrValException.doEntityToVOMapping(ApplicationModule rootAm, ViewObject[] vos)
           
 

Uses of ApplicationModule in oracle.jbo.client
 

Methods in oracle.jbo.client that return ApplicationModule
static ApplicationModule Configuration.createRootApplicationModule(java.lang.String qualifiedAMDefName, java.lang.String configName)
          Creates and connects an application module using the specified configuration.
static ApplicationModule Configuration.createRootApplicationModule(java.lang.String qualifiedAMDefName, java.lang.String configName, EnvInfoProvider envInfo)
          Creates and connects an application module using the specified configuration.
 ApplicationModule Configuration.createRootApplicationModuleFromConfig(java.lang.String configName, EnvInfoProvider envInfo)
           
 

Methods in oracle.jbo.client with parameters of type ApplicationModule
static void Configuration.releaseRootApplicationModule(ApplicationModule appModule, boolean remove)
          Release the specified application module.
 

Uses of ApplicationModule in oracle.jbo.client.remote
 

Methods in oracle.jbo.client.remote that return ApplicationModule
 ApplicationModule ViewUsageImpl.getApplicationModule()
           
 ApplicationModule RowImpl.getApplicationModule()
           
 ApplicationModule ComponentUsageImpl.getApplicationModule()
           
 ApplicationModule ApplicationModuleImpl.createApplicationModule(java.lang.String amName, java.lang.String defName)
          Create a ApplicationModule using its class name and specify its name
 ApplicationModule ApplicationModuleImpl.findApplicationModule(java.lang.String amName)
          Get an ApplicationModule using its name.
 ApplicationModule ApplicationModuleImpl.createWorkerApplicationModule(java.lang.Object sessionCookie)
           
 

Constructors in oracle.jbo.client.remote with parameters of type ApplicationModule
SQLValueImpl(java.lang.String stmt, ApplicationModule am)
           
 

Uses of ApplicationModule in oracle.jbo.client.remote.corba
 

Methods in oracle.jbo.client.remote.corba that return ApplicationModule
 ApplicationModule CORBAApplicationModuleHomeImpl.create()
           
 

Uses of ApplicationModule in oracle.jbo.client.remote.ejb
 

Methods in oracle.jbo.client.remote.ejb that return ApplicationModule
static ApplicationModule ApplicationModuleProxy.create(javax.ejb.EJBHome home, java.util.Hashtable sessionEnv)
           
 ApplicationModule AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy()
           
 

Uses of ApplicationModule in oracle.jbo.common
 

Methods in oracle.jbo.common that return ApplicationModule
 ApplicationModule PiggybackObjectOutputStream.getApplicationModule()
           
 

Methods in oracle.jbo.common with parameters of type ApplicationModule
 void JboServiceMessage.marshal(java.util.Locale locale, ApplicationModule am)
           
 void JboServiceMessage.marshal(java.util.Locale locale, ApplicationModule am, ObjectMarshaller marshaller)
           
 void JboServiceMessage.marshalRefs(java.util.Locale locale, ApplicationModule am, ObjectMarshaller marshaller)
           
static java.lang.String JboEnvUtil.getBC4JTempDir(ApplicationModule am)
           
 

Constructors in oracle.jbo.common with parameters of type ApplicationModule
PiggybackOutput(java.util.Locale locale, ApplicationModule am)
           
PiggybackOutput(java.util.List entries, java.util.Locale locale, ApplicationModule am)
           
PiggybackOutput(java.util.List entries, java.util.Locale locale, ApplicationModule am, ObjectMarshaller marshaller)
           
PiggybackObjectOutputStream(java.io.OutputStream out, java.util.Locale locale, ApplicationModule am, ObjectMarshaller marshaller)
          protected PiggybackObjectOutputStream(Locale locale) throws IOException { super(); mLocale = locale; }
 

Uses of ApplicationModule in oracle.jbo.common.ampool
 

Methods in oracle.jbo.common.ampool that return ApplicationModule
 ApplicationModule SessionCookieImpl.useApplicationModule()
           
 ApplicationModule SessionCookieImpl.useApplicationModule(boolean lock)
           
 ApplicationModule SessionCookieImpl.useApplicationModule(boolean lock, long waitTimeout)
          The default implementation must obtain a session cookie lock before checking an application module instance out from the pool.
 ApplicationModule DefaultConnectionStrategy.createApplicationModule(SessionCookie cookie, EnvInfoProvider envInfo)
           
 ApplicationModule DefaultConnectionStrategy.createApplicationModule(java.util.Hashtable environment)
           
 ApplicationModule ConnectionStrategy.createApplicationModule(java.util.Hashtable environment)
          Create an application module.
 ApplicationModule ConnectionStrategy.createApplicationModule(SessionCookie cookie, EnvInfoProvider envInfo)
          Create an application module.
 ApplicationModule ApplicationPoolImpl.createNewInstance()
          Deprecated. Replaced by ConnectionStrategy.createApplicationModule(SessionCookie, EnvInfoProvider). All extending logic that was implemented here should be implemented in a custom ConnectionStrategy class that extends: DefaultConnectionStrategy.

 ApplicationModule ApplicationPoolImpl.checkout()
          Deprecated. 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.

 ApplicationModule ApplicationPoolImpl.getInstance(int index)
           
 ApplicationModule ApplicationPoolImpl.checkout(java.lang.String cookieValue)
          Deprecated. 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.

 ApplicationModule ApplicationPoolImpl.useApplicationModule(SessionCookie cookie, boolean checkout)
           
 ApplicationModule ApplicationPool.useApplicationModule(SessionCookie cookie, boolean checkout)
          Returns an application module for the specified session cookie.
 ApplicationModule ApplicationPool.getInstance(int index)
          Deprecated. Implementation detail. This method has been made protected. Pool clients should not access pooled instances directly. Use ApplicationModuleRef.useApplicationModule() to acquire ApplicationModule instances instead.

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

 ApplicationModule ApplicationPool.checkout()
          Deprecated. 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.

 ApplicationModule ApplicationPool.checkout(java.lang.String sessionId)
          Deprecated. 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.

 ApplicationModule ApplicationModuleRef.useApplicationModule()
          Returns an application module instance without acquiring a session cookie lock.
 ApplicationModule ApplicationModuleRef.useApplicationModule(boolean lock)
          Returns an application module instance for the current thread.
 ApplicationModule ApplicationModuleRef.useApplicationModule(boolean lock, long waitTimeout)
          Returns an application module instance for the current thread.
 

Methods in oracle.jbo.common.ampool with parameters of type ApplicationModule
protected  void SessionCookieImpl.beforeApplicationModuleRelease(ApplicationModule am)
           
 boolean SessionCookieImpl.isActivationRequired(ApplicationModule context)
           
 boolean SessionCookie.isActivationRequired(ApplicationModule context)
          Indicates that state activation is required upon the next checkout for this session.
 void DefaultConnectionStrategy.connect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
           
 void DefaultConnectionStrategy.reconnect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
           
 void DefaultConnectionStrategy.disconnect(ApplicationModule applicationModule, boolean retainState, SessionCookie cookie)
           
 void ConnectionStrategy.connect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
          Connect an application module.
 void ConnectionStrategy.reconnect(ApplicationModule applicationModule, SessionCookie cookie, EnvInfoProvider envInfo)
          Reconnect an application module
 void ConnectionStrategy.disconnect(ApplicationModule applicationModule, boolean retainState, SessionCookie cookie)
          Disconnect an application module
 void ApplicationPoolImpl.checkin(ApplicationModule appModule)
          Deprecated. 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.

 java.lang.String ApplicationPoolImpl.checkinWithSessionState(ApplicationModule appModule)
          Deprecated. 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.

protected  void ApplicationPoolImpl.releaseInstance(ApplicationModule instance)
          Deprecated.  
 void ApplicationPoolImpl.commitAndSyncCache(ApplicationModule instance)
           
protected  boolean ApplicationPoolImpl.isInstanceAlive(ApplicationModule instance)
          Performs tests to determine if the application module instance is still alive.
protected  void ApplicationPoolImpl.notifyApplicationModuleReleased(ApplicationModule appModule, boolean isReleased)
          May be customized to perform special release processing.
 void ApplicationPoolImpl.setAvailable(ApplicationModule appModule)
           
 boolean ApplicationPoolImpl.isAvailable(ApplicationModule appModule)
          Deprecated. Implementation detail. This method has been made protected.
 long ApplicationPoolImpl.getCreationTimeMillis(ApplicationModule appModule)
           
 long ApplicationPoolImpl.getTimeToCreateMillis(ApplicationModule appModule)
           
protected  void ApplicationPoolImpl.connect(ApplicationModule appModule, java.util.Hashtable environment)
          Deprecated. 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.
protected  void ApplicationPoolImpl.reconnect(ApplicationModule appModule, java.util.Hashtable environment)
          Deprecated. 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.
protected  void ApplicationPoolImpl.disconnect(ApplicationModule appModule, boolean retainState, java.util.Hashtable environment)
          Deprecated. 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.
 void ApplicationPool.setAvailable(ApplicationModule appModule)
          This method may be used by clients if they are manually populating the pool with application module instances using #createInstance() to notify the pool when a new instance is ready for use by other threads.
 long ApplicationPool.getTimeToCreateMillis(ApplicationModule instance)
          Gets the time that it will tke to create the application module (in milli-secs).
 long ApplicationPool.getCreationTimeMillis(ApplicationModule instance)
          Gets the time when the app module was created (in milli-secs).
 void ApplicationPool.commitAndSyncCache(ApplicationModule instance)
          Given an intitial Application Module instance, synchronizes the caches of all Application Module instances in the pool.
 boolean ApplicationPool.isAvailable(ApplicationModule appModule)
          Deprecated. Implementation detail. This method has been made protected.
 void ApplicationPool.checkin(ApplicationModule instance)
          Deprecated. 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.

 java.lang.String ApplicationPool.checkinWithSessionState(ApplicationModule appModule)
          Deprecated. 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.

 

Uses of ApplicationModule in oracle.jbo.common.ws
 

Classes in oracle.jbo.common.ws that implement ApplicationModule
 class WSApplicationModuleImpl
           
 

Methods in oracle.jbo.common.ws that return ApplicationModule
 ApplicationModule WSViewObjectImpl.getApplicationModule()
           
 ApplicationModule WSRowSetIteratorImpl.getApplicationModule()
           
 ApplicationModule WSRowSetImpl.getApplicationModule()
           
 ApplicationModule WSApplicationModuleMarshaller.createWorkerApplicationModule(java.lang.Object sessionCookie)
           
 ApplicationModule WSApplicationModuleImpl.createApplicationModule(java.lang.String amName, java.lang.String defName)
           
 ApplicationModule WSApplicationModuleImpl.findApplicationModule(java.lang.String amName)
           
 ApplicationModule WSApplicationModuleImpl.getCustomApplicationModule()
           
 

Methods in oracle.jbo.common.ws with parameters of type ApplicationModule
 void WSApplicationModuleImpl.resolve(ApplicationModule am)
          Resolves the "impl" pointers
 

Constructors in oracle.jbo.common.ws with parameters of type ApplicationModule
WSApplicationModuleImpl(ApplicationModule am)
           
 

Uses of ApplicationModule in oracle.jbo.domain
 

Constructors in oracle.jbo.domain with parameters of type ApplicationModule
SQLValue(java.lang.String stmt, ApplicationModule am)
          Constructs a SQLValue object, given an Application Module instance.
 

Uses of ApplicationModule in oracle.jbo.html
 

Methods in oracle.jbo.html that return ApplicationModule
 ApplicationModule DataSourceImpl.getApplicationModule()
           
 ApplicationModule DataSource.getApplicationModule()
          Name of the ApplicationModule containing the ViewObject bind to this datasource.
 ApplicationModule BC4JContext.getApplicationModule()
          Returns an application module instance from the sessionCookie
 

Methods in oracle.jbo.html with parameters of type ApplicationModule
static java.lang.Object HtmlServices.getOrdObject(AttributeDef attrDef, OrdFileSource tempFile, Row row, ApplicationModule am, java.lang.String mimeType)
          Deprecated. since 10.1.2 see oracle.ord.im.OrdDomainUtil
 void DataSourceImpl.setApplicationModule(java.lang.String appName, ApplicationModule amInstance)
           
 void DataSourceImpl.setApplicationModule(java.lang.String appName, ApplicationModule amInstance, java.lang.String rsName, boolean createRowset)
           
 void DataSource.setApplicationModule(java.lang.String appName, ApplicationModule am)
          Bind a datasource to a BC4J ApplicationModule and retrieve find the ViewObject.
 

Uses of ApplicationModule in oracle.jbo.html.jsp
 

Methods in oracle.jbo.html.jsp that return ApplicationModule
 ApplicationModule JSPApplicationRegistry.getAppModuleInstance(java.lang.String applicationId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session)
          Deprecated. 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".

 ApplicationModule JSPApplicationRegistry.getAppModuleInstance(java.lang.String applicationId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpSession session)
          Deprecated. 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".

 ApplicationModule JSPApplicationRegistry.getAppModuleInstance(java.lang.String applicationId, javax.servlet.jsp.PageContext pageContext)
          Deprecated. 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".

 ApplicationModule JSPApplicationRegistry.getAppModuleInstance(java.lang.String applicationId, java.lang.String poolName, javax.servlet.jsp.PageContext pageContext)
          Deprecated. 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".

 ApplicationModule JSPApplicationRegistry.getAppModuleFromContexts(java.lang.String applicationId, javax.servlet.http.HttpSession session, javax.servlet.jsp.PageContext pageContext)
          Deprecated. 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).

 ApplicationModule JSPApplicationRegistry.getAppModuleFromSession(java.lang.String applicationId, javax.servlet.http.HttpSession session)
          Deprecated. 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).

 ApplicationModule JSPApplicationRegistry.getAppModuleFromSession(java.lang.String applicationId, java.lang.String poolName, javax.servlet.http.HttpSession session)
          Deprecated. 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).

 

Methods in oracle.jbo.html.jsp with parameters of type ApplicationModule
 void JSPApplicationRegistry.releaseAppModuleInstance(java.lang.String applicationId, ApplicationModule appModule, ApplicationPool pool, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletResponse response, java.lang.String releaseMode)
          Deprecated. 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 () { cookie.releaseApplicationModule( SessionCookie.UNSHARED , SessionCookie.STATE_UNMANAGED); } else if () { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_MANAGED); } else if () { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_UNMANAGED); } }

 void JSPApplicationRegistry.releaseAppModuleInstance(ApplicationModule appModule, ApplicationPool pool, javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletResponse response, java.lang.String releaseMode)
          Deprecated. 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 () { cookie.releaseApplicationModule( SessionCookie.UNSHARED , SessionCookie.STATE_UNMANAGED); } else if () { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_MANAGED); } else if () { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_UNMANAGED); } }

 void JSPApplicationRegistry.releaseAppModuleInstance(ApplicationModule appModule, ApplicationPool pool, javax.servlet.jsp.PageContext pageContext, java.lang.String releaseMode)
          Deprecated. 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 () { cookie.releaseApplicationModule( SessionCookie.UNSHARED , SessionCookie.STATE_UNMANAGED); } else if () { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_MANAGED); } else if () { cookie.releaseApplicationModule( SessionCookie.SHARED , SessionCookie.STATE_UNMANAGED); } }

 

Constructors in oracle.jbo.html.jsp with parameters of type ApplicationModule
SessionTimeOutHandler(java.lang.String poolName, ApplicationModule am)
           
 

Uses of ApplicationModule in oracle.jbo.html.struts11
 

Methods in oracle.jbo.html.struts11 with parameters of type ApplicationModule
static java.lang.Object MultipartUtil.getOrdObject(AttributeDef attrDef, org.apache.struts.upload.FormFile file, Row row, ApplicationModule am)
          Get an interMedia object for the browser uploaded file.
 

Uses of ApplicationModule in oracle.jbo.http
 

Methods in oracle.jbo.http that return ApplicationModule
 ApplicationModule HttpSessionCookieImpl.useApplicationModule(boolean lock, long waitTimeout)
           
 

Methods in oracle.jbo.http with parameters of type ApplicationModule
protected  void HttpSessionCookieImpl.beforeApplicationModuleRelease(ApplicationModule am)
           
 

Constructors in oracle.jbo.http with parameters of type ApplicationModule
ApplicationBindingListener(ApplicationModule appModule, ApplicationPool pool)
           
 

Uses of ApplicationModule in oracle.jbo.server
 

Classes in oracle.jbo.server that implement ApplicationModule
 class ApplicationModuleImpl
          The base class of Application Modules.
 

Methods in oracle.jbo.server that return ApplicationModule
 ApplicationModule ViewRowSetImpl.getApplicationModule()
          Returns the application module to which this row set's View Object belongs.
 ApplicationModule ViewRowImpl.getApplicationModule()
          Gets the Application Module to which the containing View Object belongs.
 ApplicationModule ViewObjectImpl.getApplicationModule()
          Returns the application module to which this View Object belongs.
 ApplicationModule NullDBTransactionImpl.createApplicationModule(java.lang.String amName, java.lang.String defName)
          Deprecated. Implementation of the DBTransaction interface.
 ApplicationModule NullDBTransactionImpl.findApplicationModule(java.lang.String amName)
          Deprecated. Implementation of the DBTransaction interface.
 ApplicationModule NullDBTransactionImpl.createApplicationModule(java.lang.String defName)
          Deprecated. Implementation of the DBTransaction interface.
 ApplicationModule NullDBTransactionImpl.getRootApplicationModule()
          Deprecated.  
 ApplicationModule DBTransactionImpl.getRootApplicationModule()
          Returns the root appmodule that owns this transaction.
 ApplicationModule DBTransactionImpl.createApplicationModule(java.lang.String amName, java.lang.String defName)
          Creates an instance of an nested Application Module within this Transaction For example,
 ApplicationModule DBTransactionImpl.findApplicationModule(java.lang.String amName)
          Returns the named Application Module.
 ApplicationModule DBTransactionImpl.createApplicationModule(java.lang.String defName)
          Creates an anonymous Application Module.
 ApplicationModule DBTransaction.createApplicationModule(java.lang.String amName, java.lang.String defName)
          Creates an instance of an nested Application Module within this Transaction For example,
 ApplicationModule DBTransaction.findApplicationModule(java.lang.String amName)
          Returns the named Application Module.
 ApplicationModule DBTransaction.createApplicationModule(java.lang.String defName)
          Creates an Application Module.
 ApplicationModule DBTransaction.getRootApplicationModule()
           
 ApplicationModule ComponentObjectImpl.getApplicationModule()
          Gets the Application Module.
 ApplicationModule ApplicationModuleImpl.createApplicationModule(java.lang.String amName, java.lang.String defName)
          Creates an instance of an Application Module within this Application Module; that is, a nested Application Module.
 ApplicationModule ApplicationModuleImpl.findApplicationModule(java.lang.String amName)
          Finds the named Application Module.
 ApplicationModule ApplicationModuleImpl.createWorkerApplicationModule(java.lang.Object sessionCookie)
           
protected  ApplicationModule ApplicationModuleDefImpl.loadApplicationModule(ApplicationModule am, java.lang.String amName)
           
 

Methods in oracle.jbo.server with parameters of type ApplicationModule
 DataDocument XmlDocumentReader.readDataDocument(ApplicationModule am)
           
static java.lang.Object SQLValueImpl.createInstanceWithAM(java.lang.String stmt, ApplicationModule am)
           
static java.lang.Object SequenceImpl.createInstanceWithAM(java.lang.String seqName, ApplicationModule am)
          A class method that may be invoked to retrieve the next value from a database sequence.
 DataDocument DotNetXmlDocumentReader.readDataDocument(ApplicationModule am)
           
protected  ViewObject ApplicationModuleDefImpl.loadViewObject(ApplicationModule am, java.lang.String voName)
           
protected  ViewLink ApplicationModuleDefImpl.loadViewLink(ApplicationModule am, java.lang.String vluName)
           
protected  ApplicationModule ApplicationModuleDefImpl.loadApplicationModule(ApplicationModule am, java.lang.String amName)
           
protected  ComponentObject ApplicationModuleDefImpl.loadComponentObject(ApplicationModule am, java.lang.String compName)
           
 

Constructors in oracle.jbo.server with parameters of type ApplicationModule
SQLValueImpl(java.lang.String stmt, ApplicationModule am)
           
SequenceImpl(java.lang.String seqName, ApplicationModule am)
          Constructor.
 

Uses of ApplicationModule in oracle.jbo.server.ejb
 

Methods in oracle.jbo.server.ejb that return ApplicationModule
protected  ApplicationModule SessionBeanImpl.getApplicationModule()
          Returns the appmodule instance created by createApplicationModule() method
 ApplicationModule LocalApplicationModuleImpl.createApplicationModule(java.lang.String amName, java.lang.String defName)
           
 ApplicationModule LocalApplicationModuleImpl.findApplicationModule(java.lang.String amName)
           
 

Uses of ApplicationModule in oracle.jbo.server.remote
 

Methods in oracle.jbo.server.remote that return ApplicationModule
 ApplicationModule AbstractRemoteApplicationModuleImpl.createWorkerApplicationModule(java.lang.Object sessionCookie)
           
 

Uses of ApplicationModule in oracle.jbo.server.remote.colo
 

Methods in oracle.jbo.server.remote.colo that return ApplicationModule
 ApplicationModule ColoApplicationModuleHomeImpl.create()
           
 

Uses of ApplicationModule in oracle.jbo.uicli.binding
 

Methods in oracle.jbo.uicli.binding that return ApplicationModule
 ApplicationModule JUIteratorBinding.getApplicationModule()
          Returns the instance of ApplicationModule in which this iterator binding has an associated iterator.
 

Methods in oracle.jbo.uicli.binding with parameters of type ApplicationModule
 DCIteratorBinding JUMethodIteratorDef.createIterBinding(BindingContext ctx, DCBindingContainer bc, ApplicationModule anchorAM)
           
 DCIteratorBinding JUIteratorDef.createIterBinding(BindingContext ctx, DCBindingContainer bc, ApplicationModule anchorAM)
           
 DCIteratorBinding JUAccessorIteratorDef.createIterBinding(BindingContext ctx, DCBindingContainer bc, ApplicationModule anchorAM)
           
 

Constructors in oracle.jbo.uicli.binding with parameters of type ApplicationModule
JUIteratorBinding(ApplicationModule am, java.lang.String voName, java.lang.String rsiName, int rangeSize)
          Use this constructor if a usage needs a specific range size on the associated iterator.
JUIteratorBinding(ApplicationModule am, java.lang.String voName, java.lang.String rsiName)
          When the usage only needs one row at a time, use this constructor to create an iterator binding.
JUApplication(ApplicationModule am)
          Constructor used internally by the framework to associate an application module with a JClient application object.
JUApplication(JUApplication parent, ApplicationModule am, java.lang.Object userData)
          Constructor to be used to create a nested JUApplication inside another JUApplication object.
 

Uses of ApplicationModule in oracle.jbo.uicli.mom
 

Methods in oracle.jbo.uicli.mom with parameters of type ApplicationModule
static void JUMetaObjectManager.setApplicationObject(java.lang.String qualifiedName, ApplicationModule am)
           
 

Uses of ApplicationModule in oracle.jdeveloper.html
 

Methods in oracle.jdeveloper.html that return ApplicationModule
protected  ApplicationModule DataWebBeanImpl.getApplicationFromContext()
          Use JSPApplicationRegistry.getAppModuleFromContexts , removed deprecation since no alternative is suggested
 

Methods in oracle.jdeveloper.html with parameters of type ApplicationModule
 void PickListContext.setDataSourceInfo(ApplicationModule appModule, java.lang.String sQuery)
           
 void PickList.setDataSourceInfo(ApplicationModule appModule, java.lang.String sQuery)
          Defines the data source information for the picklist
 


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

 

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