GlassFish Metro: Dependency injection in JAX-WS -


i require stateful web service , got working far using @httpsessionscope. service runs in servlet provided osgi httpservice. servlet created builder service in osgi environment. builder has services need injected web service when gets instantiated. know have @inject , @resource annotations purpose, cannot find way add external object glassfish metro objects injected services.

have example:

@httpsessionscope @webservice public class aimpl implements {      @inject     private adelegated delegated;          ... } 

how can declare object of adelegated injected web service? there sort of resourceinjector in glassfish metro allows me register object injection?


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -