Class BatchEnvironmentService
- java.lang.Object
-
- org.wildfly.extension.batch.jberet.deployment.BatchEnvironmentService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<SecurityAwareBatchEnvironment>,org.jboss.msc.value.Value<SecurityAwareBatchEnvironment>
public class BatchEnvironmentService extends Object implements org.jboss.msc.service.Service<SecurityAwareBatchEnvironment>
- Author:
- James R. Perkins
-
-
Constructor Summary
Constructors Constructor Description BatchEnvironmentService(ClassLoader classLoader, org.jberet.spi.JobXmlResolver jobXmlResolver, String deploymentName, NamespaceContextSelector namespaceContextSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.value.InjectedValue<WildFlyArtifactFactory>getArtifactFactoryInjector()org.jboss.msc.value.InjectedValue<BatchConfiguration>getBatchConfigurationInjector()org.jboss.msc.value.InjectedValue<org.jberet.spi.JobExecutor>getJobExecutorInjector()org.jboss.msc.value.InjectedValue<org.jberet.repository.JobRepository>getJobRepositoryInjector()org.jboss.msc.value.InjectedValue<org.wildfly.extension.requestcontroller.RequestController>getRequestControllerInjector()SecurityAwareBatchEnvironmentgetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
BatchEnvironmentService
public BatchEnvironmentService(ClassLoader classLoader, org.jberet.spi.JobXmlResolver jobXmlResolver, String deploymentName, NamespaceContextSelector namespaceContextSelector)
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Specified by:
startin interfaceorg.jboss.msc.service.Service<SecurityAwareBatchEnvironment>- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service- Specified by:
stopin interfaceorg.jboss.msc.service.Service<SecurityAwareBatchEnvironment>
-
getValue
public SecurityAwareBatchEnvironment getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<SecurityAwareBatchEnvironment>- Throws:
IllegalStateExceptionIllegalArgumentException
-
getArtifactFactoryInjector
public org.jboss.msc.value.InjectedValue<WildFlyArtifactFactory> getArtifactFactoryInjector()
-
getJobExecutorInjector
public org.jboss.msc.value.InjectedValue<org.jberet.spi.JobExecutor> getJobExecutorInjector()
-
getRequestControllerInjector
public org.jboss.msc.value.InjectedValue<org.wildfly.extension.requestcontroller.RequestController> getRequestControllerInjector()
-
getJobRepositoryInjector
public org.jboss.msc.value.InjectedValue<org.jberet.repository.JobRepository> getJobRepositoryInjector()
-
getBatchConfigurationInjector
public org.jboss.msc.value.InjectedValue<BatchConfiguration> getBatchConfigurationInjector()
-
-