Package org.jboss.as.service.logging
Interface SarLogger
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
SarLogger_$logger
@MessageLogger(projectCode="WFLYSAR",
length=4)
public interface SarLogger
extends org.jboss.logging.BasicLogger
- Author:
- James R. Perkins, Richard Opalka
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SarLoggerA logger with a category of the package name. -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a warning message indicating noObjectNameis available to unregister.classNotFound(Throwable cause) Creates an exception indicating the class could not be found.classNotInstantiated(Throwable cause) Creates an exception indicating the class was not instantiated.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptiondefaultConstructorNotFound(Class<?> clazz) Creates an exception indicating the default constructor for the class, represented by theclazzparameter, could not be found.failedExecutingLegacyMethod(String methodName) A message indicating a failure to execute a legacy service method, represented by themethodNameparameter.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedToGetAttachment(String attachmentType, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) Creates an exception indicating a failure to get an attachment.failedToInvokeMethod(Throwable cause) org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedToProcessSarChild(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 thedeploymentRootparameter.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedXmlParsing(Throwable cause, org.jboss.vfs.VirtualFile xmlFile) Creates an exception indicating a failure to parse the service XML file.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedXmlParsing(org.jboss.vfs.VirtualFile xmlFile) Creates an exception indicating a failure to parse the service XML file.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionmalformedDependencyName(Throwable cause, String dependencyName) Creates an exception indicating that dependency of mbean was malformed in service descriptor.org.jboss.msc.service.StartExceptionmbeanRegistrationFailed(Throwable cause, String name) Creates an exception indicating a failure to register the MBean.methodIsNotAccessible(Throwable cause) methodNotFound(String methodName, String methodParams, String className) Creates an exception indicating the method could not be found.A message indicating one or more required attributes are missing.Creates an exception indicating the variable, represented by thenameparameter, isnull.propertyMethodNotFound(String methodPrefix, String propertyName, String className) Creates an exception indicating the method for the property is not found.voidpropertyNotFound(Class<?> type) Logs a warning message indicating the inability to find aPropertyEditorfor the type.unexpectedContent(String kind, QName name, String text) A message indicating unexpected content was found.voidunregistrationFailure(Throwable cause, ObjectName name) Logs an error message indicating a failure to unregister the object name.Methods inherited from interface org.jboss.logging.BasicLogger
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, warnv
-
Field Details
-
ROOT_LOGGER
A logger with a category of the package name.
-
-
Method Details
-
failedExecutingLegacyMethod
@Message(id=1, value="Failed to execute legacy service %s method") String failedExecutingLegacyMethod(String methodName) A message indicating a failure to execute a legacy service method, represented by themethodNameparameter.- Parameters:
methodName- the name of the method that failed to execute.- Returns:
- the message
-
propertyNotFound
@LogMessage(level=WARN) @Message(id=2, value="Unable to find PropertyEditor for type %s") void propertyNotFound(Class<?> type) Logs a warning message indicating the inability to find aPropertyEditorfor the type.- Parameters:
type- the type.
-
classNotFound
@Message(id=3, value="Class not found") IllegalArgumentException classNotFound(@Cause Throwable cause) Creates an exception indicating the class could not be found.- Parameters:
cause- the cause of the error.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
classNotInstantiated
@Message(id=4, value="Class not instantiated") IllegalArgumentException classNotInstantiated(@Cause Throwable cause) Creates an exception indicating the class was not instantiated.- Parameters:
cause- the cause of the error.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
failedToGetAttachment
@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) Creates an exception indicating a failure to get an attachment.- Parameters:
attachmentType- the type/name of the attachment.deploymentUnit- the deployment unit.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
failedXmlParsing
@Message(id=6, value="Failed to parse service xml [%s]") org.jboss.as.server.deployment.DeploymentUnitProcessingException failedXmlParsing(org.jboss.vfs.VirtualFile xmlFile) Creates an exception indicating a failure to parse the service XML file.- Parameters:
xmlFile- the XML file that failed to parse.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
failedXmlParsing
org.jboss.as.server.deployment.DeploymentUnitProcessingException failedXmlParsing(@Cause Throwable cause, org.jboss.vfs.VirtualFile xmlFile) Creates an exception indicating a failure to parse the service XML file.- Parameters:
cause- the cause of the error.xmlFile- the XML file that failed to parse.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
methodNotFound
@Message(id=7, value="Method \'%s(%s)\' not found for: %s") IllegalStateException methodNotFound(String methodName, String methodParams, String className) Creates an exception indicating the method could not be found.- Parameters:
methodName- the name of the method.methodParams- the method parameters.className- the name of the class.- Returns:
- an
IllegalStateExceptionfor the error.
-
missingRequiredAttributes
A message indicating one or more required attributes are missing.- Returns:
- the message.
-
nullVar
Creates an exception indicating the variable, represented by thenameparameter, isnull.- Parameters:
name- the name of the variable.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
propertyMethodNotFound
@Message(id=10, value="%s method for property \'%s\' not found for: %s") IllegalStateException propertyMethodNotFound(String methodPrefix, String propertyName, String className) Creates an exception indicating the method for the property is not found.- Parameters:
methodPrefix- the prefix for the method, e.g.getorset.propertyName- the name of the property.className- the class the property was being queried on.- Returns:
- an
IllegalStateExceptionfor the error.
-
unexpectedContent
@Message(id=11, value="Unexpected content of type \'%s\' named \'%s\', text is: %s") String unexpectedContent(String kind, QName name, String text) A message indicating unexpected content was found.- Parameters:
kind- the kind of content.name- the name of the attribute.text- the value text of the attribute.- Returns:
- the message.
-
failedToProcessSarChild
@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) Creates an exception indicating a failure to process the resource adapter child archives for the deployment root represented by thedeploymentRootparameter.- Parameters:
cause- the cause of the error.deploymentRoot- the deployment root.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
malformedDependencyName
@Message(id=13, value="Malformed dependency name %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException malformedDependencyName(@Cause Throwable cause, String dependencyName) Creates an exception indicating that dependency of mbean was malformed in service descriptor.- Parameters:
cause- MalformedObjectNameException.dependencyName- the name of malformed dependency.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
defaultConstructorNotFound
@Message(id=14, value="Could not find default constructor for %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException defaultConstructorNotFound(Class<?> clazz) Creates an exception indicating the default constructor for the class, represented by theclazzparameter, could not be found.- Parameters:
clazz- the class.- Returns:
- a
DeploymentUnitProcessingExceptionfor the error.
-
mbeanRegistrationFailed
@Message(id=15, value="Failed to register mbean [%s]") org.jboss.msc.service.StartException mbeanRegistrationFailed(@Cause Throwable cause, String name) Creates an exception indicating a failure to register the MBean.- Parameters:
cause- the cause of the error.name- the name of the MBean.- Returns:
- a
StartExceptionfor the error.
-
cannotUnregisterObject
@LogMessage(level=WARN) @Message(id=16, value="No ObjectName available to unregister") void cannotUnregisterObject()Logs a warning message indicating noObjectNameis available to unregister. -
unregistrationFailure
@LogMessage(level=ERROR) @Message(id=17, value="Failed to unregister [%s]") void unregistrationFailure(@Cause Throwable cause, ObjectName name) Logs an error message indicating a failure to unregister the object name.- Parameters:
cause- the cause of the error.name- the name of the object name.
-
objectSupplierNotAvailable
@Message(id=18, value="Object supplier not available") IllegalStateException objectSupplierNotAvailable() -
objectNotAvailable
-
methodIsNotAccessible
@Message(id=20, value="Method is not accessible") IllegalStateException methodIsNotAccessible(@Cause Throwable cause) -
failedToInvokeMethod
@Message(id=21, value="Failed to invoke method") IllegalStateException failedToInvokeMethod(@Cause Throwable cause)
-