@MessageLogger(projectCode="WFLYSAR",
length=4)
public interface SarLogger
extends org.jboss.logging.BasicLogger
| Modifier and Type | Field and Description |
|---|---|
static SarLogger |
ROOT_LOGGER
A logger with a category of the package name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cannotUnregisterObject()
Logs a warning message indicating no
ObjectName is available to unregister. |
IllegalArgumentException |
classNotFound(Throwable cause)
Creates an exception indicating the class could not be found.
|
IllegalArgumentException |
classNotInstantiated(Throwable cause)
Creates an exception indicating the class was not instantiated.
|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
defaultConstructorNotFound(Class<?> clazz)
Creates an exception indicating the default constructor for the class, represented by the
clazz parameter, could
not be found. |
String |
failedExecutingLegacyMethod(String methodName)
A message indicating a failure to execute a legacy service method, represented by the
methodName
parameter. |
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
failedToGetAttachment(String attachmentType,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Creates an exception indicating a failure to get an attachment.
|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
failedToProcessSarChild(Throwable cause,
org.jboss.vfs.VirtualFile deploymentRoot)
Creates an exception indicating a failure to process the resource adapter child archives for the deployment root
represented by the
deploymentRoot parameter. |
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
failedXmlParsing(Throwable cause,
org.jboss.vfs.VirtualFile xmlFile)
Creates an exception indicating a failure to parse the service XML file.
|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
failedXmlParsing(org.jboss.vfs.VirtualFile xmlFile)
Creates an exception indicating a failure to parse the service XML file.
|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
malformedDependencyName(Throwable cause,
String dependencyName)
Creates an exception indicating that dependency of mbean was malformed in service descriptor.
|
org.jboss.msc.service.StartException |
mbeanRegistrationFailed(Throwable cause,
String name)
Creates an exception indicating a failure to register the MBean.
|
IllegalStateException |
methodNotFound(String methodName,
String methodParams,
String className)
Creates an exception indicating the method could not be found.
|
String |
missingRequiredAttributes()
A message indicating one or more required attributes are missing.
|
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable, represented by the
name parameter, is null. |
IllegalStateException |
propertyMethodNotFound(String methodPrefix,
String propertyName,
String className)
Creates an exception indicating the method for the property is not found.
|
void |
propertyNotFound(Class<?> type)
Logs a warning message indicating the inability to find a
PropertyEditor for the type. |
String |
unexpectedContent(String kind,
QName name,
String text)
A message indicating unexpected content was found.
|
void |
unregistrationFailure(Throwable cause,
ObjectName name)
Logs an error message indicating a failure to unregister the object name.
|
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, 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, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, 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 SarLogger ROOT_LOGGER
@Message(id=1,
value="Failed to execute legacy service %s method")
String failedExecutingLegacyMethod(String methodName)
methodName
parameter.methodName - the name of the method that failed to execute.@LogMessage(level=WARN)
@Message(id=2,
value="Unable to find PropertyEditor for type %s")
void propertyNotFound(Class<?> type)
PropertyEditor for the type.type - the type.@Message(id=3,
value="Class not found")
IllegalArgumentException classNotFound(@Cause
Throwable cause)
cause - the cause of the error.IllegalArgumentException for the error.@Message(id=4,
value="Class not instantiated")
IllegalArgumentException classNotInstantiated(@Cause
Throwable cause)
cause - the cause of the error.IllegalArgumentException for the error.@Message(id=5,
value="Failed to get %s attachment for %s")
org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToGetAttachment(String attachmentType,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
attachmentType - the type/name of the attachment.deploymentUnit - the deployment unit.DeploymentUnitProcessingException for the error.@Message(id=6,
value="Failed to parse service xml [%s]")
org.jboss.as.server.deployment.DeploymentUnitProcessingException failedXmlParsing(org.jboss.vfs.VirtualFile xmlFile)
xmlFile - the XML file that failed to parse.DeploymentUnitProcessingException for the error.org.jboss.as.server.deployment.DeploymentUnitProcessingException failedXmlParsing(@Cause
Throwable cause,
org.jboss.vfs.VirtualFile xmlFile)
cause - the cause of the error.xmlFile - the XML file that failed to parse.DeploymentUnitProcessingException for the error.@Message(id=7,
value="Method \'%s(%s)\' not found for: %s")
IllegalStateException methodNotFound(String methodName,
String methodParams,
String className)
methodName - the name of the method.methodParams - the method parameters.className - the name of the class.IllegalStateException for the error.@Message(id=8,
value="Missing one or more required attributes:")
String missingRequiredAttributes()
@Message(id=9,
value="%s is null")
IllegalArgumentException nullVar(String name)
name parameter, is null.name - the name of the variable.IllegalArgumentException for the error.@Message(id=10,
value="%s method for property \'%s\' not found for: %s")
IllegalStateException propertyMethodNotFound(String methodPrefix,
String propertyName,
String className)
methodPrefix - the prefix for the method, e.g. get or set.propertyName - the name of the property.className - the class the property was being queried on.IllegalStateException for the error.@Message(id=11,
value="Unexpected content of type \'%s\' named \'%s\', text is: %s")
String unexpectedContent(String kind,
QName name,
String text)
kind - the kind of content.name - the name of the attribute.text - the value text of the attribute.@Message(id=12,
value="Failed to process SAR child archives for [%s]")
org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToProcessSarChild(@Cause
Throwable cause,
org.jboss.vfs.VirtualFile deploymentRoot)
deploymentRoot parameter.cause - the cause of the error.deploymentRoot - the deployment root.DeploymentUnitProcessingException for the error.@Message(id=13,
value="Malformed dependency name %s")
org.jboss.as.server.deployment.DeploymentUnitProcessingException malformedDependencyName(@Cause
Throwable cause,
String dependencyName)
cause - MalformedObjectNameException.dependencyName - the name of malformed dependency.DeploymentUnitProcessingException for the error.@Message(id=14,
value="Could not find default constructor for %s")
org.jboss.as.server.deployment.DeploymentUnitProcessingException defaultConstructorNotFound(Class<?> clazz)
clazz parameter, could
not be found.clazz - the class.DeploymentUnitProcessingException for the error.@Message(id=15,
value="Failed to register mbean [%s]")
org.jboss.msc.service.StartException mbeanRegistrationFailed(@Cause
Throwable cause,
String name)
cause - the cause of the error.name - the name of the MBean.StartException for the error.@LogMessage(level=WARN)
@Message(id=16,
value="No ObjectName available to unregister")
void cannotUnregisterObject()
ObjectName is available to unregister.@LogMessage(level=ERROR)
@Message(id=17,
value="Failed to unregister [%s]")
void unregistrationFailure(@Cause
Throwable cause,
ObjectName name)
cause - the cause of the error.name - the name of the object name.Copyright © 2020 JBoss by Red Hat. All rights reserved.