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

    Fields
    Modifier and Type
    Field
    Description
    static final SarLogger
    A logger with a category of the package name.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Logs a warning message indicating no ObjectName is available to unregister.
    Creates an exception indicating the class could not be found.
    Creates an exception indicating the class was not instantiated.
    org.jboss.as.server.deployment.DeploymentUnitProcessingException
    Creates an exception indicating the default constructor for the class, represented by the clazz parameter, could not be found.
    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
    Creates an exception indicating a failure to register the MBean.
     
    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 the name parameter, is null.
     
     
    propertyMethodNotFound(String methodPrefix, String propertyName, String className)
    Creates an exception indicating the method for the property is not found.
    void
    Logs a warning message indicating the inability to find a PropertyEditor for the type.
    unexpectedContent(String kind, QName name, String text)
    A message indicating unexpected content was found.
    void
    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

      static final SarLogger 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 the methodName parameter.
      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 a PropertyEditor for 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 IllegalArgumentException for 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 IllegalArgumentException for 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 DeploymentUnitProcessingException for 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 DeploymentUnitProcessingException for 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 DeploymentUnitProcessingException for 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 IllegalStateException for the error.
    • missingRequiredAttributes

      @Message(id=8, value="Missing one or more required attributes:") String missingRequiredAttributes()
      A message indicating one or more required attributes are missing.
      Returns:
      the message.
    • nullVar

      @Message(id=9, value="%s is null") IllegalArgumentException nullVar(String name)
      Creates an exception indicating the variable, represented by the name parameter, is null.
      Parameters:
      name - the name of the variable.
      Returns:
      an IllegalArgumentException for 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. get or set.
      propertyName - the name of the property.
      className - the class the property was being queried on.
      Returns:
      an IllegalStateException for 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 the deploymentRoot parameter.
      Parameters:
      cause - the cause of the error.
      deploymentRoot - the deployment root.
      Returns:
      a DeploymentUnitProcessingException for 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 DeploymentUnitProcessingException for 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 the clazz parameter, could not be found.
      Parameters:
      clazz - the class.
      Returns:
      a DeploymentUnitProcessingException for 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 StartException for the error.
    • cannotUnregisterObject

      @LogMessage(level=WARN) @Message(id=16, value="No ObjectName available to unregister") void cannotUnregisterObject()
      Logs a warning message indicating no ObjectName is 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

      @Message(id=19, value="Object not available") IllegalStateException 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)