You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "TURPIN Michel (JIRA)" <ji...@apache.org> on 2017/06/01 21:06:04 UTC

[jira] [Created] (TOMEE-2045) TomEE tries to register a provider as a resource

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)