Package org.jboss.as.jaxrs.logging
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
FieldsModifier and TypeFieldDescriptionstatic final JaxrsLoggerA logger with the categoryorg.jboss.jaxrs. -
Method Summary
Modifier and TypeMethodDescriptionvoidbaseTypeMethodFailed(String defaultValue, String param, String method, String converterMethod, String exceptionClass, String exceptionMsg) org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionCreates an exception indicating the Jakarta RESTful Web Services application class could not be loaded.voidclassAnnotationNotFound(String annotation, org.jboss.jandex.AnnotationTarget target) Logs a warning message indicating the annotation, represented by theannotationparameter, not on Class, represented by thetargetparameter.voidclassIntrospectionFailure(String clazz, String msg) voidclassOrMethodAnnotationNotFound(String annotation, org.jboss.jandex.AnnotationTarget target) Logs a warning message indicating the annotation, represented by theannotationparameter, not on Class or Method, represented by thetargetparameter.voidvoidvoidfailedToReadAttribute(Exception ex, org.jboss.as.controller.PathAddress address, org.jboss.dmr.ModelNode modelNode) voidinvalidConfigurationFactory(Class<?> factory) org.jboss.as.server.deployment.DeploymentUnitProcessingExceptioninvalidParamValue(String param, String value) voidjacksonAnnotationDetected(String property) voidmoreThanOneServletMapping(String servletName, String pattern) Logs an error message indicating more than one mapping found for Jakarta RESTful Web Services servlet, represented by theservletNameparameter, the second mapping, represented by thepatternparameter, will not work.voidnoServletDeclaration(String archiveName) org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionvoidparamConverterFailed(String defaultValue, String param, String method, String paramConverter, String exceptionClass, String exceptionMsg) voidresteasyVersion(String version) voidtracingEnabled(String deploymentName) org.jboss.as.server.deployment.DeploymentUnitProcessingExceptiontypeNameNotAnEjbView(List<Class<?>> type, String ejbName) Jakarta RESTful Web Services resource @Path annotation is on a class or interface that is not a viewMethods 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
-
JAXRS_LOGGER
A logger with the categoryorg.jboss.jaxrs.
-
-
Method Details
-
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 theannotationparameter, not on Class, represented by thetargetparameter.- 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 theannotationparameter, not on Class or Method, represented by thetargetparameter.- 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 theservletNameparameter, the second mapping, represented by thepatternparameter, 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
DeploymentUnitProcessingExceptionfor 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 a Jakarta Enterprise Beans bean.") 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 annotationejbName- The ejb- Returns:
- the exception
-
invalidParamValue
-
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
-
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 jakarta.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
-
classIntrospectionFailure
-
tracingEnabled
@LogMessage(level=WARN) @Message(id=29, value="The RESTEasy tracing API has been enabled for deployment \"%s\" and is not meant for production.") void tracingEnabled(String deploymentName) -
invalidConfigurationFactory
@Message(id=30, value="Invalid ConfigurationFactory found %s") IllegalStateException invalidConfigurationFactory(Class<?> factory) -
failedToLoadConfigurationFactory
@LogMessage(level=WARN) @Message(id=31, value="Failed to load RESTEasy MicroProfile Configuration: %s") void failedToLoadConfigurationFactory(String msg)
-