Hi devs,

I'm trying to get wink working in another environment, (without using
a the default restServlet based mechanism). There I  need to create
the deployment config
request processor using my own classLoader. I was able to do so.

the problem is I'm getting a illegalArgumentException when i'm
executing the line,

ObjectFactory of =
configuration.getOfFactoryRegistry().getObjectFactory(appClass);

this happens, because ,

createObject () method in the DefaultLifeCycleManager, decides my
application class as a DynamicResource.

this is working fine when i run this using the standard wink war
deployment. (the same service class).

what is DynamicResource notion in wink. Why is it not working when i'm
trying to invoke using the wink public apis?
any pointer greatly appreciated.

thanks in advance,
--Pradeep

Reply via email to