Class ArtifactFactoryService
java.lang.Object
org.jberet.creation.AbstractArtifactFactory
org.wildfly.extension.batch.jberet.deployment.ArtifactFactoryService
- All Implemented Interfaces:
org.jberet.spi.ArtifactFactory,org.jboss.msc.Service,WildFlyArtifactFactory
public class ArtifactFactoryService
extends org.jberet.creation.AbstractArtifactFactory
implements org.jboss.msc.Service, WildFlyArtifactFactory
ArtifactFactory for Jakarta EE runtime environment.
- Author:
- James R. Perkins, Richard Opalka
-
Field Summary
Fields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionArtifactFactoryService(Consumer<org.jberet.spi.ArtifactFactory> artifactFactoryConsumer, Supplier<jakarta.enterprise.inject.spi.BeanManager> beanManagerSupplier) -
Method Summary
Modifier and TypeMethodDescriptioncreate(String ref, Class<?> cls, ClassLoader classLoader) org.wildfly.extension.batch.jberet.deployment.ContextHandleCreates a context handle required for setting up the Jakarta Contexts and Dependency Injection context.voidClass<?>getArtifactClass(String ref, ClassLoader classLoader) voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context) Methods inherited from class org.jberet.creation.AbstractArtifactFactory
doInjection, findBean, invokeAnnotatedLifecycleMethod
-
Constructor Details
-
ArtifactFactoryService
-
-
Method Details
-
destroy
- Specified by:
destroyin interfaceorg.jberet.spi.ArtifactFactory- Overrides:
destroyin classorg.jberet.creation.AbstractArtifactFactory
-
getArtifactClass
- Specified by:
getArtifactClassin interfaceorg.jberet.spi.ArtifactFactory
-
create
- Specified by:
createin interfaceorg.jberet.spi.ArtifactFactory- Throws:
Exception
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
createContextHandle
public org.wildfly.extension.batch.jberet.deployment.ContextHandle createContextHandle()Description copied from interface:WildFlyArtifactFactoryCreates a context handle required for setting up the Jakarta Contexts and Dependency Injection context.- Specified by:
createContextHandlein interfaceWildFlyArtifactFactory- Returns:
- the newly create context handle
-