hi deven,

it depends on details you haven't provided.
however, in any case you can use BeanProvider#injectFields to fill
injection points of any instance which isn't managed by the cdi-container.

regards,
gerhard

http://www.irian.at

Your JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache
MyFaces, DeltaSpike and OpenWebBeans



2014-11-14 15:32 GMT+01:00 Deven Phillips <[email protected]>:

> Hi all,
>
>      New to DeltaSpike (coming from Guice) and I am trying to migrate my
> Jetty websocket implementation to DeltaSpike, but I would like some help
> figuring out how to properly inject my JSR-356 annotated object into the
> WebSocketCreator class. I have created an abstract AbstractSocketHandler
> which both of my implementation inherit from. So, in my project, if I have
> a class which @Produces an instance of that, does anyone know if the Jetty
> implementation will inject it into the appropriate places? Or will I have
> to manually use BeanManager to accomplish the injections?
>
> Thanks in advance for any help!!
>
> Deven Phillips
>

Reply via email to