@MessageLogger(projectCode="WFLYRS",
length=4)
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 |
---|---|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
cannotLoadApplicationClass(Throwable cause)
Creates an exception indicating the JAX-RS 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 |
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. |
String |
conflictUrlMapping()
A message indicating the incorrect mapping config.
|
void |
disablePropertyDeprecated() |
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
invalidParamValue(String param,
String value) |
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
moreThanOneApplicationClassFound(Class<? extends javax.ws.rs.core.Application> app1,
Class<? extends javax.ws.rs.core.Application> app2)
Creates an exception indicating more than one application class found in deployment.
|
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. |
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
noSpringIntegrationJar() |
String |
onlyOneApplicationClassAllowed(StringBuilder sb)
A message indicating only one JAX-RS application class is allowed.
|
void |
resteasyScanWarning(String param)
Logs a warning message indicating that
resteasy.scan was found in the web.xml and is not
necessary. |
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
typeNameNotAnEjbView(List<Class<?>> type,
String ejbName)
JAX-RS resource @Path annotation is on a class or interface that is not a view
|
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
static final JaxrsLogger JAXRS_LOGGER
org.jboss.jaxrs
.@LogMessage(level=WARN) @Message(id=1, 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=2, 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=3, 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=4, 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=5, 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.@Message(id=6, value="Could not load JAX-RS Application class") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadApplicationClass(@Cause Throwable cause)
cause
- the cause of the error.DeploymentUnitProcessingException
for the error.@Message(id=7, value="More than one Application class found in deployment %s and %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException moreThanOneApplicationClassFound(Class<? extends javax.ws.rs.core.Application> app1, Class<? extends javax.ws.rs.core.Application> app2)
app1
- the first application.app2
- the second application.DeploymentUnitProcessingException
for the error.@Message(id=8, value="Only one JAX-RS Application Class allowed. %s") String onlyOneApplicationClassAllowed(StringBuilder sb)
sb
- a builder with application classes.@Message(id=9, value="Please use either @ApplicationPath or servlet mapping for url path config.") String conflictUrlMapping()
@Message(id=10, value="JAX-RS resource %s does not correspond to a view on the EJB %s. @Path annotations can only be placed on classes or interfaces that represent a local, remote or no-interface view of an EJB.") org.jboss.as.server.deployment.DeploymentUnitProcessingException typeNameNotAnEjbView(List<Class<?>> type, String ejbName)
type
- The class with the annotationejbName
- The ejb@Message(id=11, value="Invalid value for parameter %s: %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException invalidParamValue(String param, String value)
@Message(id=12, value="No spring integration jar found") org.jboss.as.server.deployment.DeploymentUnitProcessingException noSpringIntegrationJar()
@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()
Copyright © 2018 JBoss by Red Hat. All rights reserved.