[
https://issues.apache.org/jira/browse/WINK-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730690#action_12730690
]
Michael Elman commented on WINK-84:
-----------------------------------
There is at least one problem with this: by default resource and providers have
different scopes - resources are created per request and providers are
singletons.
What should happen for a class that is both resource and provider?
> Classes returned from getClasses/getSingletons can be a provider and a
> resource
> -------------------------------------------------------------------------------
>
> Key: WINK-84
> URL: https://issues.apache.org/jira/browse/WINK-84
> Project: Wink
> Issue Type: Bug
> Components: Common
> Affects Versions: 0.1
> Reporter: Bryant Luk
>
> I don't think there was anything stopping classes returned from
> Application.getClasses() / getSingletons() to be both a resource and a
> provider besides coding style.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.