Interface JaxrsLogger

  • All Superinterfaces:
    org.jboss.logging.BasicLogger
    All Known Implementing Classes:
    JaxrsLogger_$logger

    @MessageLogger(projectCode="WFLYRS",
                   length=4)
    public interface JaxrsLogger
    extends org.jboss.logging.BasicLogger
    Author:
    James R. Perkins, David M. Lloyd
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static JaxrsLogger JAXRS_LOGGER
      A logger with the category org.jboss.jaxrs.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void baseTypeMethodFailed​(String defaultValue, String param, String method, String converterMethod, String exceptionClass, String exceptionMsg)  
      org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadApplicationClass​(Throwable cause)
      Creates an exception indicating the Jakarta RESTful Web Services application class could not be loaded.
      void classAnnotationNotFound​(String annotation, org.jboss.jandex.AnnotationTarget target)
      Logs a warning message indicating the annotation, represented by the annotation parameter, not on Class, represented by the target parameter.
      void classIntrospectionFailure​(String clazz, String msg)  
      void classOrMethodAnnotationNotFound​(String annotation, org.jboss.jandex.AnnotationTarget target)
      Logs a warning message indicating the annotation, represented by the annotation parameter, not on Class or Method, represented by the target parameter.
      void disablePropertyDeprecated()  
      void failedToReadAttribute​(Exception ex, org.jboss.as.controller.PathAddress address, org.jboss.dmr.ModelNode modelNode)  
      void failedToRegisterManagementViewForRESTResources​(String resClass, Exception e)  
      String illegalArgument​(String name, String value)  
      org.jboss.as.server.deployment.DeploymentUnitProcessingException invalidParamValue​(String param, String value)  
      void jacksonAnnotationDetected​(String property)  
      void moreThanOneServletMapping​(String servletName, String pattern)
      Logs an error message indicating more than one mapping found for Jakarta RESTful Web Services servlet, represented by the servletName parameter, the second mapping, represented by the pattern parameter, will not work.
      void noServletDeclaration​(String archiveName)  
      org.jboss.as.server.deployment.DeploymentUnitProcessingException noSpringIntegrationJar()  
      void paramConverterFailed​(String defaultValue, String param, String method, String paramConverter, String exceptionClass, String exceptionMsg)  
      org.jboss.as.controller.OperationFailedException parameterNotList​(String param)  
      void resteasyVersion​(String version)  
      org.jboss.as.server.deployment.DeploymentUnitProcessingException typeNameNotAnEjbView​(List<Class<?>> type, String ejbName)
      Jakarta RESTful Web Services resource @Path annotation is on a class or interface that is not a view
      • 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 Detail

      • JAXRS_LOGGER

        static final JaxrsLogger JAXRS_LOGGER
        A logger with the category org.jboss.jaxrs.
    • Method Detail

      • classAnnotationNotFound

        @LogMessage(level=WARN)
        @Message(id=1,
                 value="%s annotation not on Class: %s")
        void classAnnotationNotFound​(String annotation,
                                     org.jboss.jandex.AnnotationTarget target)
        Logs a warning message indicating the annotation, represented by the annotation parameter, not on Class, represented by the target parameter.
        Parameters:
        annotation - the missing annotation.
        target - the target.
      • classOrMethodAnnotationNotFound

        @LogMessage(level=WARN)
        @Message(id=2,
                 value="%s annotation not on Class or Method: %s")
        void classOrMethodAnnotationNotFound​(String annotation,
                                             org.jboss.jandex.AnnotationTarget target)
        Logs a warning message indicating the annotation, represented by the annotation parameter, not on Class or Method, represented by the target parameter.
        Parameters:
        annotation - the missing annotation.
        target - the target.
      • moreThanOneServletMapping

        @LogMessage(level=ERROR)
        @Message(id=3,
                 value="More than one mapping found for Jakarta RESTful Web Services servlet: %s the second mapping %s will not work")
        void moreThanOneServletMapping​(String servletName,
                                       String pattern)
        Logs an error message indicating more than one mapping found for Jakarta RESTful Web Services servlet, represented by the servletName parameter, the second mapping, represented by the pattern parameter, will not work.
        Parameters:
        servletName - the name of the servlet.
        pattern - the pattern.
      • cannotLoadApplicationClass

        @Message(id=6,
                 value="Could not load Jakarta RESTful Web Services Application class")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadApplicationClass​(@Cause
                                                                                                    Throwable cause)
        Creates an exception indicating the Jakarta RESTful Web Services application class could not be loaded.
        Parameters:
        cause - the cause of the error.
        Returns:
        a DeploymentUnitProcessingException for the error.
      • typeNameNotAnEjbView

        @Message(id=10,
                 value="Jakarta RESTful Web Services resource %s does not correspond to a view on the Jakarta Enterprise Beans %s. @Path annotations can only be placed on classes or interfaces that represent a local, remote or no-interface view of an Jakarta Enterprise Beans.")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException typeNameNotAnEjbView​(List<Class<?>> type,
                                                                                              String ejbName)
        Jakarta RESTful Web Services resource @Path annotation is on a class or interface that is not a view
        Parameters:
        type - The class with the annotation
        ejbName - The ejb
        Returns:
        the exception
      • invalidParamValue

        @Message(id=11,
                 value="Invalid value for parameter %s: %s")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException invalidParamValue​(String param,
                                                                                           String value)
      • noSpringIntegrationJar

        @Message(id=12,
                 value="No spring integration jar found")
        org.jboss.as.server.deployment.DeploymentUnitProcessingException noSpringIntegrationJar()
      • disablePropertyDeprecated

        @LogMessage(level=WARN)
        @Message(id=13,
                 value="The context param org.jboss.as.jaxrs.disableSpringIntegration is deprecated, and will be removed in a future release. Please use org.jboss.as.jaxrs.enableSpringIntegration instead")
        void disablePropertyDeprecated()
      • failedToRegisterManagementViewForRESTResources

        @LogMessage(level=ERROR)
        @Message(id=14,
                 value="Failed to register management view for REST resource class: %s")
        void failedToRegisterManagementViewForRESTResources​(String resClass,
                                                            @Cause
                                                            Exception e)
      • noServletDeclaration

        @LogMessage(level=WARN)
        @Message(id=15,
                 value="No Servlet declaration found for Jakarta RESTful Web Services application.  In %s either provide a class that extends javax.ws.rs.core.Application or declare a servlet class in web.xml.")
        void noServletDeclaration​(String archiveName)
      • resteasyVersion

        @LogMessage(level=INFO)
        @Message(id=16,
                 value="RESTEasy version %s")
        void resteasyVersion​(String version)
      • failedToReadAttribute

        @LogMessage(level=WARN)
        @Message(id=17,
                 value="Failed to read attribute from Jakarta RESTful Web Services deployment at %s with name %s")
        void failedToReadAttribute​(@Cause
                                   Exception ex,
                                   org.jboss.as.controller.PathAddress address,
                                   org.jboss.dmr.ModelNode modelNode)
      • jacksonAnnotationDetected

        @LogMessage(level=WARN)
        @Message(id=18,
                 value="Explicit usage of Jackson annotation in a Jakarta RESTful Web Services deployment; the system will disable Jakarta JSON Binding processing for the current deployment. Consider setting the \'%s\' property to \'false\' to restore Jakarta JSON Binding.")
        void jacksonAnnotationDetected​(String property)
      • paramConverterFailed

        @LogMessage(level=WARN)
        @Message(id=19,
                 value="Error converting default value %s for parameter %s in method %s using param converter %s. Exception: %s : %s")
        void paramConverterFailed​(String defaultValue,
                                  String param,
                                  String method,
                                  String paramConverter,
                                  String exceptionClass,
                                  String exceptionMsg)
      • baseTypeMethodFailed

        @LogMessage(level=WARN)
        @Message(id=20,
                 value="\"Error converting default value %s for parameter %s in method %s using method %s. Exception: %s : %s\"")
        void baseTypeMethodFailed​(String defaultValue,
                                  String param,
                                  String method,
                                  String converterMethod,
                                  String exceptionClass,
                                  String exceptionMsg)
      • classIntrospectionFailure

        @LogMessage(level=ERROR)
        @Message(id=21,
                 value="%s %s")
        void classIntrospectionFailure​(String clazz,
                                       String msg)
      • parameterNotList

        @Message(id=22,
                 value="\"Parameter %s is not a list\"")
        org.jboss.as.controller.OperationFailedException parameterNotList​(String param)
      • illegalArgument

        @Message(id=23,
                 value="Illegal value for parameter %s: %s")
        String illegalArgument​(String name,
                               String value)