public final class MetaInfBatchJobsJobXmlResolver extends AbstractJobXmlResolver implements JobXmlResolver
META-INF/batch-jobs
directory on the
class loader.
The JobXmlResolver.getJobXmlNames(ClassLoader)
and AbstractJobXmlResolver.resolveJobName(String, ClassLoader)
are not implemented as part of this
implementation.
DEFAULT_PATH
Constructor and Description |
---|
MetaInfBatchJobsJobXmlResolver() |
Modifier and Type | Method and Description |
---|---|
InputStream |
resolveJobXml(String jobXml,
ClassLoader classLoader)
Locates the job XML and creates a stream to the contents.
|
getJobXmlNames, resolveJobName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJobXmlNames, resolveJobName
public InputStream resolveJobXml(String jobXml, ClassLoader classLoader) throws IOException
JobXmlResolver
resolveJobXml
in interface JobXmlResolver
jobXml
- the name of the job XML with a .xml
suffixclassLoader
- the class loader for the applicationnull
if the job XML content was not foundIOException
- if an error occurs creating the streamCopyright © 2016 JBoss by Red Hat. All rights reserved.