-
1. Re: Access to kernel instance in jboss head
kabirkhan May 11, 2006 9:42 AM (in response to thomas.diesler)There might be another way, but one way is to have your beans implement the KernelControllerContextAware interface, and use the passed in
AFAIK, this interface is not finalized yet though:
http://jira.jboss.com/jira/browse/JBMICROCONT-77 -
2. Re: Access to kernel instance in jboss head
kabirkhan May 11, 2006 9:42 AM (in response to thomas.diesler)I mean
...and use the passed in KernelKontrollerContext -
3. Re: Access to kernel instance in jboss head
thomas.diesler May 11, 2006 10:18 AM (in response to thomas.diesler)I need access to the Kernel instance from a jboss deployment interceptor.
I want to refactor my web service deployment interceptors such that they deploy to the ServiceEndpointManager that now is a POJO registered with the microcontainer. I have no idea how I get the ServiceEndpointManager from the kernel.
Note, the WS deployment interceptors are not MC managed beans, so I cant inject ServiceEndpointManager, right? -
4. Re: Access to kernel instance in jboss head
thomas.diesler May 11, 2006 10:38 AM (in response to thomas.diesler)Maybe I asked the question incorectly.
Looking at JBossBeanDeployment it looks like there is a Kernel per *.beans deployment. I assumed there was a global Kernel instance in jboss