users@glassfish.java.net

Re: post deploy/undeploy hooks

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Tue, 31 May 2011 11:56:37 -0400

Looking at the v2.1.1 code, we do have some events sending out after
loading or unloading the ejb.

notifyEjbEvent(EjbContainerEvent.AFTER_EJB_CONTAINER_LOAD,
                        nextDescriptor);
notifyEjbEvent(EjbContainerEvent.AFTER_EJB_CONTAINER_UNLOAD,
                    nextDescriptor);

I will let Binod or Prasad provide more details of how to use these
events as they are more familiar with this part of the code.

- Hong

On 5/31/2011 10:15 AM, forums_at_java.net wrote:
> Hi, are there hooks available in GF 2.1.1 to let me run some code after
> deploying/undeploying an ejb? The reason I want this is
> to register/unregister webservices using jUDDI annotations.
>
>
>
> Thanks,
>
>
> --
>
> [Message sent by forum member 'jaybee99']
>
> View Post: http://forums.java.net/node/807691
>
>