If I understand correctly your question, you want to register multiple
Application instances?
You can do it using the org.apache.wink.server.utils.RegistrationUtils
class.



On Wed, Feb 9, 2011 at 1:51 PM, Pradeep Fernando <[email protected]>wrote:

> hi devs,
>
> May be I'm asking a silly question here. I need to deploy multiple
> jaxrs applications in wink runtime.
>
> AFAIK, there is a class that extends jsr311 Application class and
> under that there are many resources. (please correct me i'm wrong).
> currently in the wink getting started guide I observe .class file
> deployment mechanism.
>
> is it possible to support multiple jaxrs application archives (a jar
> file or similar, that has a Application class and a set of resources).
>
> As of my current understanding, at the deployment phase wink create a
> RequestProcessor, for the provided application and call
>
> requestProcessor.handleRequest(request, response).
>
> looks like I have to maintain a set of requestPrcocessors per each
> service and dispatch them according to a context path mapping at a
> higher level. Is there a better way of doing this. may be within the
> wink runtime itself. ?
>
> what is the extention point where i can process a custom archive
> instead of default .class file scan.
>
> any feedback is highly appreciated.
> Thanks,
> --Pradeep
>

Reply via email to