public class ArtifactFactoryService extends org.jberet.creation.AbstractArtifactFactory implements org.jboss.msc.service.Service<org.jberet.spi.ArtifactFactory>, WildFlyArtifactFactory
| Constructor and Description |
|---|
ArtifactFactoryService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(String ref,
Class<?> cls,
ClassLoader classLoader) |
org.wildfly.extension.batch.jberet.deployment.ContextHandle |
createContextHandle()
Creates a context handle required for setting up the CDI context.
|
void |
destroy(Object instance) |
Class<?> |
getArtifactClass(String ref,
ClassLoader classLoader) |
org.jboss.msc.value.InjectedValue<javax.enterprise.inject.spi.BeanManager> |
getBeanManagerInjector() |
org.jberet.spi.ArtifactFactory |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
doInjection, invokeAnnotatedLifecycleMethodpublic void destroy(Object instance)
destroy in interface org.jberet.spi.ArtifactFactorydestroy in class org.jberet.creation.AbstractArtifactFactorypublic Class<?> getArtifactClass(String ref, ClassLoader classLoader)
getArtifactClass in interface org.jberet.spi.ArtifactFactorypublic Object create(String ref, Class<?> cls, ClassLoader classLoader) throws Exception
create in interface org.jberet.spi.ArtifactFactoryExceptionpublic void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic org.jberet.spi.ArtifactFactory getValue()
throws IllegalStateException,
IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<org.jberet.spi.ArtifactFactory>IllegalStateExceptionIllegalArgumentExceptionpublic org.wildfly.extension.batch.jberet.deployment.ContextHandle createContextHandle()
WildFlyArtifactFactorycreateContextHandle in interface WildFlyArtifactFactorypublic org.jboss.msc.value.InjectedValue<javax.enterprise.inject.spi.BeanManager> getBeanManagerInjector()
Copyright © 2020 JBoss by Red Hat. All rights reserved.