TorqueBox 3.1.2

org.torquebox.core.datasource
Class DataSourceXAVerifierService

java.lang.Object
  extended by org.torquebox.core.datasource.DataSourceXAVerifierService
All Implemented Interfaces:
org.jboss.msc.service.Service<DataSourceInfoList.Info>, org.jboss.msc.value.Value<DataSourceInfoList.Info>

public class DataSourceXAVerifierService
extends Object
implements org.jboss.msc.service.Service<DataSourceInfoList.Info>


Field Summary
 
Fields inherited from interface org.jboss.msc.service.Service
NULL, NULL_VALUE
 
Constructor Summary
DataSourceXAVerifierService(DataSourceInfoList.Info info, org.jboss.msc.service.ServiceRegistry serviceRegistry, String jndiName)
           
 
Method Summary
protected  String getAdapterId()
           
 org.jboss.msc.inject.Injector<DataSource> getDataSourceInjector()
           
 org.jboss.msc.inject.Injector<TransactionManager> getTransactionManagerInjector()
           
 DataSourceInfoList.Info getValue()
           
protected  int postgresqlMaxPreparedTransactions(DataSource dataSource)
           
 void start(org.jboss.msc.service.StartContext context)
           
 void stop(org.jboss.msc.service.StopContext context)
           
protected  boolean testSupportsXa()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceXAVerifierService

public DataSourceXAVerifierService(DataSourceInfoList.Info info,
                                   org.jboss.msc.service.ServiceRegistry serviceRegistry,
                                   String jndiName)
Method Detail

start

public void start(org.jboss.msc.service.StartContext context)
           throws org.jboss.msc.service.StartException
Specified by:
start in interface org.jboss.msc.service.Service<DataSourceInfoList.Info>
Throws:
org.jboss.msc.service.StartException

testSupportsXa

protected boolean testSupportsXa()

postgresqlMaxPreparedTransactions

protected int postgresqlMaxPreparedTransactions(DataSource dataSource)

getAdapterId

protected String getAdapterId()

stop

public void stop(org.jboss.msc.service.StopContext context)
Specified by:
stop in interface org.jboss.msc.service.Service<DataSourceInfoList.Info>

getValue

public DataSourceInfoList.Info getValue()
                                 throws IllegalStateException,
                                        IllegalArgumentException
Specified by:
getValue in interface org.jboss.msc.value.Value<DataSourceInfoList.Info>
Throws:
IllegalStateException
IllegalArgumentException

getDataSourceInjector

public org.jboss.msc.inject.Injector<DataSource> getDataSourceInjector()

getTransactionManagerInjector

public org.jboss.msc.inject.Injector<TransactionManager> getTransactionManagerInjector()

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.