Class XADataSourceConfigService
- java.lang.Object
-
- org.jboss.as.connector.subsystems.datasources.XADataSourceConfigService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<ModifiableXaDataSource>,org.jboss.msc.value.Value<ModifiableXaDataSource>
public class XADataSourceConfigService extends Object implements org.jboss.msc.service.Service<ModifiableXaDataSource>
- Author:
- , Stefano Maestri
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameSERVICE_NAME_BASE
-
Constructor Summary
Constructors Constructor Description XADataSourceConfigService(ModifiableXaDataSource dataSourceConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifiableXaDataSourcegetValue()org.jboss.msc.inject.Injector<String>getXaDataSourcePropertyInjector(String key)voidstart(org.jboss.msc.service.StartContext startContext)voidstop(org.jboss.msc.service.StopContext stopContext)
-
-
-
Constructor Detail
-
XADataSourceConfigService
public XADataSourceConfigService(ModifiableXaDataSource dataSourceConfig)
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Specified by:
startin interfaceorg.jboss.msc.service.Service<ModifiableXaDataSource>- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext stopContext)
- Specified by:
stopin interfaceorg.jboss.msc.Service- Specified by:
stopin interfaceorg.jboss.msc.service.Service<ModifiableXaDataSource>
-
getValue
public ModifiableXaDataSource getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<ModifiableXaDataSource>- Throws:
IllegalStateExceptionIllegalArgumentException
-
-