@MessageLogger(projectCode="jberet")
public interface BatchLogger
extends org.jboss.logging.BasicLogger
| Modifier and Type | Field and Description |
|---|---|
static BatchLogger |
LOGGER |
| Modifier and Type | Method and Description |
|---|---|
IllegalStateException |
batchOperationNotSupported(String op,
AbstractContext context) |
void |
cannotContainBothChunkAndBatchlet(String stepId) |
javax.batch.operations.BatchRuntimeException |
cannotHaveBothNextAttributeAndElement(Location location,
String nextAttributeValue) |
javax.batch.operations.BatchRuntimeException |
checkpointAlgorithmMissing(String stepName) |
javax.batch.operations.JobStartException |
cycleInheritance(String inheritingElements) |
javax.batch.operations.BatchRuntimeException |
cycleInPropertyReference(List<String> referringExpressions) |
void |
decisionCannotBeFirst(String decisionId) |
void |
failToClone(Throwable cause,
Object original,
String jobName,
String stepName) |
void |
failToClose(Throwable cause,
Class<?> resourceType,
Object obj) |
IllegalStateException |
failToCreateArtifact(Throwable e,
String ref) |
javax.batch.operations.BatchRuntimeException |
failToCreateTables(Throwable cause,
String ddlFile,
String ddlContent) |
void |
failToDestroyArtifact(Throwable cause,
Object artifact) |
javax.batch.operations.BatchRuntimeException |
failToGetAttribute(String attributeName,
Location location) |
javax.batch.operations.JobStartException |
failToGetJobXml(Throwable e,
String jobName) |
void |
failToIdentifyArtifact(Throwable e) |
javax.batch.operations.BatchRuntimeException |
failToInjectProperty(Throwable th,
String v,
Field f) |
javax.batch.operations.BatchRuntimeException |
failToInsert(Throwable cause,
String sql) |
javax.batch.operations.BatchRuntimeException |
failToLoadConfig(Throwable th,
String configFile) |
javax.batch.operations.BatchRuntimeException |
failToLoadDDL(String ddlFile) |
javax.batch.operations.BatchRuntimeException |
failToLoadSqlProperties(Throwable cause,
String sqlFile) |
javax.batch.operations.BatchRuntimeException |
failToLookupDataSource(Throwable cause,
String dataSourceName) |
javax.batch.operations.BatchRuntimeException |
failToObtainConnection(Throwable cause,
Object connectionSource,
Object props) |
javax.batch.operations.JobStartException |
failToParseBatchXml(Throwable e,
String batchXML) |
javax.batch.operations.JobStartException |
failToParseJobXml(Throwable e,
String jobName) |
javax.batch.operations.JobStartException |
failToProcessMetaData(Throwable e,
String jobName) |
void |
failToRunBatchlet(Throwable e,
Object o) |
void |
failToRunJob(Throwable e,
String jobName,
String stepName,
Object artifact) |
void |
failToStopJob(Throwable cause,
String jobName,
String stepName,
Object additionalInfo) |
void |
failToWriteBatchXml(Throwable e) |
javax.batch.operations.BatchRuntimeException |
invalidCheckpointPolicy(String checkpointPolicy) |
void |
invalidExceptionClassFilter(Throwable cause,
String cls) |
javax.batch.operations.BatchRuntimeException |
invalidItemCount(int itemCount) |
void |
jobAlreadyExists(String jobId) |
javax.batch.operations.JobExecutionAlreadyCompleteException |
jobExecutionAlreadyCompleteException(long jobExecutionId) |
javax.batch.operations.BatchRuntimeException |
jobExecutionAlreadyExists(long jobExecutionId) |
javax.batch.operations.JobExecutionIsRunningException |
jobExecutionIsRunningException(long jobExecutionId) |
javax.batch.operations.JobExecutionNotMostRecentException |
jobExecutionNotMostRecentException(long jobExecutionId,
long jobInstanceId) |
javax.batch.operations.JobExecutionNotRunningException |
jobExecutionNotRunningException(long jobExecutionId,
javax.batch.runtime.BatchStatus batchStatus) |
javax.batch.operations.BatchRuntimeException |
jobInstanceAlreadyExists(long jobInstanceId) |
javax.batch.operations.JobRestartException |
jobRestartException(long jobExecutionId,
javax.batch.runtime.BatchStatus previousStatus) |
IllegalStateException |
loopbackStep(String stepId,
String executedSteps) |
void |
mainUsage(List<String> args) |
IllegalStateException |
noMethodMatchingAnnotation(Class<? extends Annotation> ann,
Object artifact) |
javax.batch.operations.NoSuchJobException |
noSuchJobException(String jobName) |
javax.batch.operations.NoSuchJobExecutionException |
noSuchJobExecution(long executionId) |
void |
persisted(Object obj,
long id) |
void |
possibleSyntaxErrorInProperty(String prop) |
void |
stepContainsNoChunkOrBatchlet(String stepId) |
javax.batch.operations.BatchRuntimeException |
stepReachedStartLimit(String stepName,
int startLimit,
int startCount) |
void |
submittedBatchletTask(String b,
Thread th) |
void |
tableCreated(String ddlFile) |
void |
tableCreated2(String ddlContent) |
javax.batch.operations.BatchRuntimeException |
unexpectedXmlElement(String element,
Location location) |
IllegalStateException |
unrecognizableJobElement(String jobElementName,
String jobName) |
javax.batch.operations.BatchRuntimeException |
unrecognizedJobRepositoryType(String v) |
void |
unrecognizedPropertyReference(String category,
String variableName,
String propVal) |
void |
unresolvableExpression(String message) |
javax.batch.operations.BatchRuntimeException |
unresolvableExpressionException(String expression) |
javax.batch.operations.BatchRuntimeException |
unsupportedFieldType(String v,
Field f,
Class<?> t) |
void |
useDefaultJBeretConfig(String configFile) |
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnvstatic final BatchLogger LOGGER
@Message(id=1,
value="Failed to create artifact with ref name %s. Ensure CDI beans.xml is present and batch.xml, if any, is configured properly.")
IllegalStateException failToCreateArtifact(@Cause
Throwable e,
String ref)
@LogMessage(level=ERROR)
@Message(id=2,
value="Usage: java -classpath ... -Dkey1=val1 ... org.jberet.Main jobXML%nThe following application args are invalid:%n%s")
void mainUsage(List<String> args)
@LogMessage(level=WARN)
@Message(id=3,
value="Failed to run batchlet %s")
void failToRunBatchlet(@Cause
Throwable e,
Object o)
@Message(id=4,
value="Failed to get job xml file for job %s")
javax.batch.operations.JobStartException failToGetJobXml(@Cause
Throwable e,
String jobName)
@Message(id=5,
value="Failed to parse and bind XML for job %s")
javax.batch.operations.JobStartException failToParseJobXml(@Cause
Throwable e,
String jobName)
@Message(id=6,
value="Failed to parse batch XML %s")
javax.batch.operations.JobStartException failToParseBatchXml(@Cause
Throwable e,
String batchXML)
@Message(id=7,
value="Failed to process batch application metadata for job %s")
javax.batch.operations.JobStartException failToProcessMetaData(@Cause
Throwable e,
String jobName)
@LogMessage(level=WARN)
@Message(id=8,
value="Failed to write batch artifact xml file")
void failToWriteBatchXml(@Cause
Throwable e)
@LogMessage(level=WARN)
@Message(id=9,
value="Failed to identify batch artifact")
void failToIdentifyArtifact(@Cause
Throwable e)
@Message(id=10,
value="A step cannot contain both chunk type and batchlet type: %s")
@LogMessage(level=WARN)
void cannotContainBothChunkAndBatchlet(String stepId)
@Message(id=11,
value="A concrete step must contain either a chunk or batchlet type: %s")
@LogMessage(level=WARN)
void stepContainsNoChunkOrBatchlet(String stepId)
@LogMessage(level=INFO)
@Message(id=12,
value="Submitted batchlet task %s in thread %s")
void submittedBatchletTask(String b,
Thread th)
@Message(id=13,
value="No method matches the annotation %s in artifact %s")
IllegalStateException noMethodMatchingAnnotation(Class<? extends Annotation> ann,
Object artifact)
@Message(id=14,
value="No job execution with id %s")
javax.batch.operations.NoSuchJobExecutionException noSuchJobExecution(long executionId)
@Message(id=15,
value="Unrecognized property category: %s, variable name: %s in property value: %s")
@LogMessage(level=WARN)
void unrecognizedPropertyReference(String category,
String variableName,
String propVal)
@Message(id=16,
value="Invalid exception filter class \'%s\'")
@LogMessage(level=WARN)
void invalidExceptionClassFilter(@Cause
Throwable cause,
String cls)
@Message(id=17,
value="The job: %s already exists in the job repository and will not be added.")
@LogMessage(level=TRACE)
void jobAlreadyExists(String jobId)
@Message(id=18,
value="Failed to run job %s, %s, %s")
@LogMessage(level=ERROR)
void failToRunJob(@Cause
Throwable e,
String jobName,
String stepName,
Object artifact)
@Message(id=19,
value="Unrecognizable job element: %s in job: %s")
IllegalStateException unrecognizableJobElement(String jobElementName,
String jobName)
@Message(id=20,
value="Cycle detected in property reference: %s")
javax.batch.operations.BatchRuntimeException cycleInPropertyReference(List<String> referringExpressions)
@Message(id=21,
value="Possible syntax errors in property: %s")
@LogMessage(level=WARN)
void possibleSyntaxErrorInProperty(String prop)
@Message(id=22,
value="The step %s would form a loopback in sequence: %s")
IllegalStateException loopbackStep(String stepId,
String executedSteps)
@Message(id=23,
value="The requested batch operation %s is not supported in %s")
IllegalStateException batchOperationNotSupported(String op,
AbstractContext context)
@Message(id=24,
value="Cycles detected in job element inheritance: %s")
javax.batch.operations.JobStartException cycleInheritance(String inheritingElements)
@Message(id=25,
value="Job execution %s is running and cannot be abandoned.")
javax.batch.operations.JobExecutionIsRunningException jobExecutionIsRunningException(long jobExecutionId)
@Message(id=26,
value="Job execution %s has already completed and cannot be restarted.")
javax.batch.operations.JobExecutionAlreadyCompleteException jobExecutionAlreadyCompleteException(long jobExecutionId)
@Message(id=27,
value="Failed to restart job execution %s, which had batch status %s.")
javax.batch.operations.JobRestartException jobRestartException(long jobExecutionId,
javax.batch.runtime.BatchStatus previousStatus)
@Message(id=28,
value="Job execution %s is not the most recent execution of job instance %s.")
javax.batch.operations.JobExecutionNotMostRecentException jobExecutionNotMostRecentException(long jobExecutionId,
long jobInstanceId)
@Message(id=29,
value="Job execution %s has batch status %s, and is not running.")
javax.batch.operations.JobExecutionNotRunningException jobExecutionNotRunningException(long jobExecutionId,
javax.batch.runtime.BatchStatus batchStatus)
@Message(id=30,
value="A decision cannot be the first element: %s")
@LogMessage(level=WARN)
void decisionCannotBeFirst(String decisionId)
@Message(id=31,
value="Could not resolve expression because: %s")
@LogMessage(level=DEBUG)
void unresolvableExpression(String message)
@Message(id=32,
value="Could not resolve the expression: %s")
javax.batch.operations.BatchRuntimeException unresolvableExpressionException(String expression)
@Message(id=33,
value="The step %s has started %s times and reached its start limit %s")
javax.batch.operations.BatchRuntimeException stepReachedStartLimit(String stepName,
int startLimit,
int startCount)
@Message(id=34,
value="Invalid chunk checkpoint-policy %s. It must be either item or custom.")
javax.batch.operations.BatchRuntimeException invalidCheckpointPolicy(String checkpointPolicy)
@Message(id=35,
value="Invalid chunk item-count %s. It must be greater than 0.")
javax.batch.operations.BatchRuntimeException invalidItemCount(int itemCount)
@Message(id=36,
value="checkpoint-algorithm element is missing in step %s. It is required for custom checkpoint-policy.")
javax.batch.operations.BatchRuntimeException checkpointAlgorithmMissing(String stepName)
@Message(id=37,
value="The specified job with the name %s does not exist.")
javax.batch.operations.NoSuchJobException noSuchJobException(String jobName)
@Message(id=38,
value="Failed to stop the job %s, %s, %s")
@LogMessage(level=WARN)
void failToStopJob(@Cause
Throwable cause,
String jobName,
String stepName,
Object additionalInfo)
@Message(id=39,
value="Failed to clone %s when running job [%s] and step [%s]")
@LogMessage(level=WARN)
void failToClone(@Cause
Throwable cause,
Object original,
String jobName,
String stepName)
@Message(id=40,
value="Failed to inject value %s into field %s, because the field type %s is not supported for property injection.")
javax.batch.operations.BatchRuntimeException unsupportedFieldType(String v,
Field f,
Class<?> t)
@Message(id=41,
value="Failed to inject value %s into field %s")
javax.batch.operations.BatchRuntimeException failToInjectProperty(@Cause
Throwable th,
String v,
Field f)
@Message(id=42,
value="Failed to destroy artifact %s")
@LogMessage(level=WARN)
void failToDestroyArtifact(@Cause
Throwable cause,
Object artifact)
@Message(id=43,
value="The configuration file %s is not found in the classpath, and will use the default configuration.")
@LogMessage(level=TRACE)
void useDefaultJBeretConfig(String configFile)
@Message(id=44,
value="Failed to load configuration file %s")
javax.batch.operations.BatchRuntimeException failToLoadConfig(@Cause
Throwable th,
String configFile)
@Message(id=45,
value="Unrecognized job repository type %s")
javax.batch.operations.BatchRuntimeException unrecognizedJobRepositoryType(String v)
@Message(id=46,
value="Failed to look up datasource %s")
javax.batch.operations.BatchRuntimeException failToLookupDataSource(@Cause
Throwable cause,
String dataSourceName)
@Message(id=47,
value="Failed to obtain connection from %s, %s")
javax.batch.operations.BatchRuntimeException failToObtainConnection(@Cause
Throwable cause,
Object connectionSource,
Object props)
@Message(id=48,
value="Failed to load sql properties %s")
javax.batch.operations.BatchRuntimeException failToLoadSqlProperties(@Cause
Throwable cause,
String sqlFile)
@Message(id=49,
value="Tables created for batch job repository with DDL file %s")
@LogMessage(level=INFO)
void tableCreated(String ddlFile)
@Message(id=50,
value="Tables created for batch job repository with DDL content:%n %s")
@LogMessage(level=INFO)
void tableCreated2(String ddlContent)
@Message(id=51,
value="Failed to create tables for batch job repository with DDL %s%n%s")
javax.batch.operations.BatchRuntimeException failToCreateTables(@Cause
Throwable cause,
String ddlFile,
String ddlContent)
@Message(id=52,
value="Failed to load ddl file %s")
javax.batch.operations.BatchRuntimeException failToLoadDDL(String ddlFile)
@Message(id=53,
value="Failed to insert %s")
javax.batch.operations.BatchRuntimeException failToInsert(@Cause
Throwable cause,
String sql)
@Message(id=54,
value="Failed to close %s: %s")
@LogMessage(level=WARN)
void failToClose(@Cause
Throwable cause,
Class<?> resourceType,
Object obj)
@Message(id=55,
value="Persisted %s with id %s")
@LogMessage(level=INFO)
void persisted(Object obj,
long id)
@Message(id=56,
value="Unexpected XML element \'%s\' at location %s")
javax.batch.operations.BatchRuntimeException unexpectedXmlElement(String element,
Location location)
@Message(id=57,
value="Failed to get XML attribute \'%s\' at location %s")
javax.batch.operations.BatchRuntimeException failToGetAttribute(String attributeName,
Location location)
@Message(id=58,
value="Cannot have both next attribute and next element at location %s Next attribute is already set to %s")
javax.batch.operations.BatchRuntimeException cannotHaveBothNextAttributeAndElement(Location location,
String nextAttributeValue)
@Message(id=59,
value="The job instance: %s already exists in the job repository and cannot be added again.")
javax.batch.operations.BatchRuntimeException jobInstanceAlreadyExists(long jobInstanceId)
@Message(id=60,
value="The job execution: %s already exists in the job repository and cannot be added again.")
javax.batch.operations.BatchRuntimeException jobExecutionAlreadyExists(long jobExecutionId)
Copyright © 2013 JBoss by Red Hat. All rights reserved.