TURPIN Michel created TOMEE-2045:
------------------------------------

             Summary: TomEE tries to register a provider as a resource
                 Key: TOMEE-2045
                 URL: https://issues.apache.org/jira/browse/TOMEE-2045
             Project: TomEE
          Issue Type: Bug
          Components: TomEE Core Server
    Affects Versions: 7.0.3
            Reporter: TURPIN Michel


When an Application subclass declares a class ( through the 
Application#getClasses() method ) which implements one or more provider 
interfaces but is not annotated with the Provider annotation, the provider is 
not registred as a provider.

>From chapter 4 of the Jax-RS spec :
??A provider is a class that implements one or more JAX-RS interfaces 
introduced in this specification and that *may* be annotated with @Provider for 
automatic discovery.??



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to