public class DataSourceConfigService extends Object implements org.jboss.msc.service.Service<ModifiableDataSource>
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME_BASE |
Constructor and Description |
---|
DataSourceConfigService(ModifiableDataSource dataSourceConfig) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.inject.Injector<String> |
getConnectionPropertyInjector(String key) |
ModifiableDataSource |
getValue() |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext stopContext) |
public static final org.jboss.msc.service.ServiceName SERVICE_NAME_BASE
public DataSourceConfigService(ModifiableDataSource dataSourceConfig)
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<ModifiableDataSource>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext stopContext)
stop
in interface org.jboss.msc.service.Service<ModifiableDataSource>
public ModifiableDataSource getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<ModifiableDataSource>
IllegalStateException
IllegalArgumentException
Copyright © 2015 JBoss by Red Hat. All rights reserved.