users@glassfish.java.net

Re: post deploy/undeploy hooks

From: Prasad Subramanian <prasad.x.subramanian_at_oracle.com>
Date: Thu, 02 Jun 2011 13:31:23 +0530

Hi Hong

I do not think we added code for this specific part. We added code for
Application ( EAR) lifecycle events. AFAIK, these events were not part
of the code that were added for the EAR lifecycle event propagation.

BTW, Binod has moved on to another team now.

Thanks
Prasad

On 05/31/2011 09:26 PM, Hong Zhang wrote:
> 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
>>
>>