Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


oracle.jbo.server.svc
Class ServiceConfiguration

java.lang.Object
  extended by oracle.jbo.server.svc.ServiceConfiguration


public class ServiceConfiguration
extends java.lang.Object

Nested Class Summary
static class ServiceConfiguration.ServiceJTATrnHandlerFactory
           

 

Constructor Summary
ServiceConfiguration()
           

 

Method Summary
static TransactionHandlerFactory createTransactionHandlerFactory(java.lang.String poolName, java.lang.String id)
           
static ApplicationModule getApplicationModule(java.lang.String appModuleDefName, java.lang.String trxId)
          retrieve current application module
static ApplicationModule getRootApplicationModule(java.lang.String qualifiedAMDefName, java.lang.String configName)
          Creates and connects an application module using the specified configuration.
static ApplicationModule getRootApplicationModule(java.lang.String qualifiedAMDefName, java.lang.String configName, EnvInfoProvider envInfo)
          Creates and connects an application module using the specified configuration.
static ServiceCookieHandler getServiceCookieHandler(ApplicationModule appModule)
           
static void releaseApplicationModule(java.lang.String appModuleDefName, java.lang.String trxId, boolean removeSessionCookie)
          release the application module for a particular JTA transaction
static void releaseResources(ApplicationModule appModule)
          release resources for an application module
static void releaseRootApplicationModule(ApplicationModule appModule, boolean removeSessionCookie)
          release the root application module
static void setApplicationModule(java.lang.String appModuleDefName, java.lang.String trxId, ApplicationModule appModule)
          set application module for a particular JTA transaction

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ServiceConfiguration

public ServiceConfiguration()

Method Detail

getApplicationModule

public static ApplicationModule getApplicationModule(java.lang.String appModuleDefName,
                                                     java.lang.String trxId)
retrieve current application module
Parameters:
appModuleDefName -
trxId -
Returns:

setApplicationModule

public static void setApplicationModule(java.lang.String appModuleDefName,
                                        java.lang.String trxId,
                                        ApplicationModule appModule)
set application module for a particular JTA transaction
Parameters:
appModuleDefName -
trxId -
appModule -

releaseApplicationModule

public static void releaseApplicationModule(java.lang.String appModuleDefName,
                                            java.lang.String trxId,
                                            boolean removeSessionCookie)
release the application module for a particular JTA transaction
Parameters:
appModuleDefName -
trxId -
removeSessionCookie - flag indicates whether to remove the session cookie

releaseResources

public static void releaseResources(ApplicationModule appModule)
                             throws JboException
release resources for an application module
Parameters:
appModule -
Throws:
JboException

getServiceCookieHandler

public static ServiceCookieHandler getServiceCookieHandler(ApplicationModule appModule)

releaseRootApplicationModule

public static void releaseRootApplicationModule(ApplicationModule appModule,
                                                boolean removeSessionCookie)
release the root application module
Parameters:
appModule - the application module to be released to the pool
remove - flag indicates whether the session cookie should be removed or not

getRootApplicationModule

public static ApplicationModule getRootApplicationModule(java.lang.String qualifiedAMDefName,
                                                         java.lang.String configName)
Creates and connects an application module using the specified configuration.
Parameters:
qualifiedAMDefName - the package qualified application module definition name
configName - the name ofthe configuration

getRootApplicationModule

public static ApplicationModule getRootApplicationModule(java.lang.String qualifiedAMDefName,
                                                         java.lang.String configName,
                                                         EnvInfoProvider envInfo)
Creates and connects an application module using the specified configuration.
Parameters:
qualifiedAMDefName - the package qualified application module definition name
configName - the name ofthe configuration
envInfo - an EnvInfoProvider which may be used to provide additional information when the application module is connected

createTransactionHandlerFactory

public static final TransactionHandlerFactory createTransactionHandlerFactory(java.lang.String poolName,
                                                                              java.lang.String id)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


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