com.metamatrix.server.dqp.service
Class PlatformTransactionService

java.lang.Object
  extended by com.metamatrix.server.dqp.service.PlatformTransactionService
All Implemented Interfaces:
ApplicationService, TransactionService

public class PlatformTransactionService
extends java.lang.Object
implements TransactionService


Field Summary
 
Fields inherited from interface com.metamatrix.dqp.service.TransactionService
DEFAULT_LOGFILE_SIZE, DEFAULT_MAX_ROLLOVER_FILES, DEFAULT_SEPARATE_TXN_LOG, DEFAULT_TXN_MGR_LOG_DIR, DEFAULT_TXN_STATUS_PORT, DEFAULT_TXN_STORE_DIR, DEFAULT_TXN_TIMEOUT, HOSTNAME, MAX_FILESIZE_MB, MAX_ROLLINGFILES, MAX_TIMEOUT, SEPARATE_TXN_LOG, TXN_ENABLE_RECOVERY, TXN_MGR_LOG_DIR, TXN_STATUS_PORT, TXN_STORE_DIR, VMNAME
 
Constructor Summary
PlatformTransactionService(Host host)
           
 
Method Summary
 TransactionServer getTransactionServer()
           
 XAServer getXAServer()
           
 void initialize(java.util.Properties props)
          Initialize the service with the specified properties.
 void start(ApplicationEnvironment environment)
          Start the service with the specified environment.
 void stop()
          Stop the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformTransactionService

public PlatformTransactionService(Host host)
Method Detail

initialize

public void initialize(java.util.Properties props)
                throws ApplicationInitializationException
Description copied from interface: ApplicationService
Initialize the service with the specified properties.

Specified by:
initialize in interface ApplicationService
Parameters:
props - Initialialization properties
Throws:
ApplicationInitializationException - If an error occurs during initialization

start

public void start(ApplicationEnvironment environment)
           throws ApplicationLifecycleException
Description copied from interface: ApplicationService
Start the service with the specified environment. The environment can be used to find other services or resources.

Specified by:
start in interface ApplicationService
Parameters:
environment - Environment
Throws:
ApplicationLifecycleException - If an error occurs while starting

stop

public void stop()
          throws ApplicationLifecycleException
Description copied from interface: ApplicationService
Stop the service.

Specified by:
stop in interface ApplicationService
Throws:
ApplicationLifecycleException - If an error occurs while starting

getTransactionServer

public TransactionServer getTransactionServer()
Specified by:
getTransactionServer in interface TransactionService
See Also:
TransactionService.getTransactionServer()

getXAServer

public XAServer getXAServer()
Specified by:
getXAServer in interface TransactionService
See Also:
TransactionService.getXAServer()


Copyright © 2009. All Rights Reserved.