tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TURPIN Michel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-2045) TomEE tries to register a provider as a resource
Date Thu, 01 Jun 2017 21:06:04 GMT
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)

Mime
View raw message