public class ServiceConfiguration
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ServiceConfiguration.ServiceJTATrnHandlerFactory  | 
| Constructor and Description | 
|---|
ServiceConfiguration()  | 
| Modifier and Type | Method and Description | 
|---|---|
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 
 | 
public static ApplicationModule getApplicationModule(java.lang.String appModuleDefName, java.lang.String trxId)
appModuleDefName - the application module definition nametrxId - the transaction idpublic static void setApplicationModule(java.lang.String appModuleDefName,
                                        java.lang.String trxId,
                                        ApplicationModule appModule)
appModuleDefName - the application module definition nametrxId - the transaction idappModule - the application modulepublic static void releaseApplicationModule(java.lang.String appModuleDefName,
                                            java.lang.String trxId,
                                            boolean removeSessionCookie)
appModuleDefName - the application module definition nametrxId - the transaction idremoveSessionCookie - flag indicates whether to remove the session cookiepublic static void releaseResources(ApplicationModule appModule) throws JboException
appModule - the application moduleJboException - an error occurs releasing resourcespublic static ServiceCookieHandler getServiceCookieHandler(ApplicationModule appModule)
public static void releaseRootApplicationModule(ApplicationModule appModule, boolean removeSessionCookie)
appModule - the application module to be released to the poolremoveSessionCookie - flag indicates whether the session cookie should be removed or notpublic static ApplicationModule getRootApplicationModule(java.lang.String qualifiedAMDefName, java.lang.String configName)
qualifiedAMDefName - the package qualified application module definition nameconfigName - the name ofthe configurationpublic static ApplicationModule getRootApplicationModule(java.lang.String qualifiedAMDefName, java.lang.String configName, EnvInfoProvider envInfo)
qualifiedAMDefName - the package qualified application module definition nameconfigName - the name ofthe configurationenvInfo - an EnvInfoProvider which may be used to provide additional
 information when the application module is connectedpublic static final TransactionHandlerFactory createTransactionHandlerFactory(java.lang.String poolName, java.lang.String id)