Class CDIBatchArtifactFactory
- java.lang.Object
-
- org.apache.batchee.container.services.factory.DefaultBatchArtifactFactory
-
- org.apache.batchee.container.services.factory.CDIBatchArtifactFactory
-
- All Implemented Interfaces:
XMLStreamConstants,BatchArtifactFactory,BatchService
public class CDIBatchArtifactFactory extends DefaultBatchArtifactFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batchee.container.services.factory.DefaultBatchArtifactFactory
DefaultBatchArtifactFactory.ArtifactLocator
-
Nested classes/interfaces inherited from interface org.apache.batchee.spi.BatchArtifactFactory
BatchArtifactFactory.Instance
-
-
Field Summary
-
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
-
Constructor Summary
Constructors Constructor Description CDIBatchArtifactFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.enterprise.inject.spi.BeanManagergetBeanManager()voidinit(Properties batchConfig)BatchArtifactFactory.Instanceload(String batchId)StringtoString()-
Methods inherited from class org.apache.batchee.container.services.factory.DefaultBatchArtifactFactory
createArtifactsLocator, populateArtifactMapFromStream
-
-
-
-
Method Detail
-
load
public BatchArtifactFactory.Instance load(String batchId)
- Specified by:
loadin interfaceBatchArtifactFactory- Overrides:
loadin classDefaultBatchArtifactFactory- Parameters:
batchId- The value of a @ref attribute in a JSL element, e.g. 'batchlet'- Returns:
- An object instance of the artifact.
-
init
public void init(Properties batchConfig) throws BatchContainerServiceException
- Specified by:
initin interfaceBatchService- Overrides:
initin classDefaultBatchArtifactFactory- Throws:
BatchContainerServiceException
-
getBeanManager
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
-
-