com.ibm.jbatch.container.services.impl
Class DelegatingBatchArtifactFactoryImpl

java.lang.Object
  extended by com.ibm.jbatch.container.services.impl.DelegatingBatchArtifactFactoryImpl
All Implemented Interfaces:
IBatchArtifactFactory, IBatchServiceBase, XMLStreamConstants

public class DelegatingBatchArtifactFactoryImpl
extends Object
implements IBatchArtifactFactory, XMLStreamConstants


Field Summary
protected static IBatchArtifactFactory preferredArtifactFactory
           
 
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
DelegatingBatchArtifactFactoryImpl()
           
 
Method Summary
protected  InputStream getBatchXMLStreamFromClassLoader(ClassLoader loader)
           
 void init(IBatchConfig batchConfig)
           
 Object load(String batchId)
           
protected  com.ibm.jbatch.container.services.impl.DelegatingBatchArtifactFactoryImpl.ArtifactMap populateArtifactMapFromStream(com.ibm.jbatch.container.services.impl.DelegatingBatchArtifactFactoryImpl.ArtifactMap tempMap, InputStream is)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

preferredArtifactFactory

protected static IBatchArtifactFactory preferredArtifactFactory
Constructor Detail

DelegatingBatchArtifactFactoryImpl

public DelegatingBatchArtifactFactoryImpl()
Method Detail

load

public Object load(String batchId)
Specified by:
load in interface IBatchArtifactFactory
Parameters:
batchId - The value of a @ref attribute in a JSL element, e.g. 'batchlet'
Returns:
An object instance of the artifact.

getBatchXMLStreamFromClassLoader

protected InputStream getBatchXMLStreamFromClassLoader(ClassLoader loader)

populateArtifactMapFromStream

protected com.ibm.jbatch.container.services.impl.DelegatingBatchArtifactFactoryImpl.ArtifactMap populateArtifactMapFromStream(com.ibm.jbatch.container.services.impl.DelegatingBatchArtifactFactoryImpl.ArtifactMap tempMap,
                                                                                                                              InputStream is)

init

public void init(IBatchConfig batchConfig)
          throws BatchContainerServiceException
Specified by:
init in interface IBatchServiceBase
Throws:
BatchContainerServiceException

shutdown

public void shutdown()
              throws BatchContainerServiceException
Specified by:
shutdown in interface IBatchServiceBase
Throws:
BatchContainerServiceException


Copyright © 2013. All Rights Reserved.