[
https://issues.apache.org/jira/browse/TOMEE-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau resolved TOMEE-2045.
---------------------------------------
Resolution: Fixed
Assignee: Romain Manni-Bucau
Fix Version/s: 7.0.4
> 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
> Assignee: Romain Manni-Bucau
> Fix For: 7.0.4
>
>
> 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)