]
Matthew Bowman updated JBSEAM-4247:
-----------------------------------
Attachment: resteasy-debug.log
The org.jboss.seam.resteasy DEBUG log
Seam managed @Provider not registered
-------------------------------------
Key: JBSEAM-4247
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4247
Project: Seam
Issue Type: Bug
Components: WS
Affects Versions: 2.1.2.GA
Reporter: Matthew Bowman
Assignee: Christian Bauer
Attachments: resteasy-debug.log
Example:
@Name("serviceExceptionMapper")
@Scope(ScopeType.APPLICATION)
@Provider
public class ServiceExceptionMapper implements ExceptionMapper<ServiceException> {
public Resposne toResponse(ServiceException ex) {
return Response.noContent().build();
}
}
This custom ExceptionMapper provider will not be registered with ResteasyProviderFactory.
If I remove the @Name + @Scope annotations, the provider is registered.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: