I don't exactly remember, but I think there was a reason the event fires
before.  It may hae had something to do with the  farm deployer.

How does your mbean fit in the packaging? Is there some way you can use the
jboss service lifecyle to get the same effect?  I'd think that it might be
difficult to guarantee that your mbean was ready to recieve notifications
even if the notifications occurred after the deployment was done.

david jencks

On 2002.12.03 13:15:51 -0500 Chris Harris wrote:
> (Using Branch_3_2)
> 
> Our development uses extra metadata inside deployed jars, ejb-jars,
> and wars which we stick in the meta-inf directory of the deployments.
> I then use an MBean to cache this metadata for runtime.
> 
> I'd like to grab this information during deployment by listening to
> notifications from MainDeployer (the deploy(DeploymentInfo) method).
> But, the notification is sent *before* the deployment is done so my
> MBean cannot act on the notification and extract its information.
> 
> Is there a reason the notification is sent before the deployment is
> actually done? Any problems with changing it so that it fires
> afterwards (like the undeploy() notification is)?
> 
> Chris Harris
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Microsoft Visual Studio.NET 
> comprehensive development tool, built to increase your 
> productivity. Try a free online hosted session at:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to