@MessageLogger(projectCode="JBAS")
public interface JaxrsLogger
extends org.jboss.logging.BasicLogger
Modifier and Type | Field and Description |
---|---|
static JaxrsLogger |
JAXRS_LOGGER
A logger with the category
org.jboss.jaxrs . |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
moreThanOneServletMapping(String servletName,
String pattern)
Logs an error message indicating more than one mapping found for JAX-RS servlet, represented by the
servletName parameter, the second mapping, represented by the pattern parameter, will not work. |
void |
noServletMappingFound(String servletName)
Logs a warning message indicating no servlet mappings found for the JAX-RS application, represented by the
servletName parameter, either annotate with @ApplicationPath or add
a servlet-mapping in the web.xml. |
void |
resteasyScanWarning(String param)
Logs a warning message indicating that
resteasy.scan was found in the web.xml and is not
necessary. |
debug, debug, debug, debug, 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, 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
static final JaxrsLogger JAXRS_LOGGER
org.jboss.jaxrs
.@LogMessage(level=WARN) @Message(id=11200, value="%s annotation not on Class: %s") void classAnnotationNotFound(String annotation, org.jboss.jandex.AnnotationTarget target)
annotation
parameter, not on Class,
represented by the target
parameter.annotation
- the missing annotation.target
- the target.@LogMessage(level=WARN) @Message(id=11201, value="%s annotation not on Class or Method: %s") void classOrMethodAnnotationNotFound(String annotation, org.jboss.jandex.AnnotationTarget target)
annotation
parameter, not on Class
or Method, represented by the target
parameter.annotation
- the missing annotation.target
- the target.@LogMessage(level=ERROR) @Message(id=11202, value="More than one mapping found for JAX-RS servlet: %s the second mapping %s will not work") void moreThanOneServletMapping(String servletName, String pattern)
servletName
parameter, the second mapping, represented by the pattern
parameter, will not work.servletName
- the name of the servlet.pattern
- the pattern.@LogMessage(level=WARN) @Message(id=11203, value="No Servlet mappings found for JAX-RS application: %s either annotate it with @ApplicationPath or add a servlet-mapping in web.xml") void noServletMappingFound(String servletName)
servletName
parameter, either annotate with @ApplicationPath
or add
a servlet-mapping
in the web.xml.servletName
- the servlet name.@LogMessage(level=WARN) @Message(id=11204, value="%s found and ignored in web.xml. This is not necessary, as Resteasy will use the container integration in the JAX-RS 1.1 specification in section 2.3.2") void resteasyScanWarning(String param)
resteasy.scan
was found in the web.xml
and is not
necessary.Copyright © 2013 JBoss by Red Hat. All rights reserved.