JBoss Community

Re: CDI @Inject in a JAX-WS service impl?

created by Paul Robinson in JBoss Web Services - View the full discussion

Richard,

 

Thanks for the reply,

 

Are you saying that you don't think it works for JAX-WS endpoints that are implemented as POJOs, or that you don't think it work on POJOs full stop? I have it working for POJOs that are neither EJBs or JAX-WS services and also for JAX-WS services that are also EJBs.

 

Also, you ask me to point to something in the CDI spec that says this should work. I can find something that says a POJO must support interceptors. But the spec does not mention JAX-WS for any CDI feature, so the behavior of interceptors on a JAX-WS service implemented as a POJO is not specified.

 

Paul.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community