David, I had written that bit of code which you inserted into the JBoss 2.4 code base that did deployment notifications. It got removed with 3.0, but I wrote an email a while back on what portions of it could be restored if the team so chose to do so. I was able to do what I wanted with .sar(s) although it required reengineering my design. As far as the JNDI name of the EJB is concerned, in my 2.4 implementation, a reference to the DeploymentInfo is passed in the notification event, the metadata data member contains the XML that would have the JNDI name. Wouldn't that work?
Fred. At 05:17 PM 7/23/2002, you wrote: >I'm not 100% sure, but I don't think anything is generating deployment >messages from deployment of ejbs. I don't see how a generic message would >work for you since you want the jndi name, a non-jmx property. You might >be able to register for an attribute change notification if the Container >mbean supports a status attribute -- haven't looked. > >david jencks > >On 2002.07.23 14:06:38 -0400 Michael Stanley wrote: > > Hi, I'm interested in getting deployment notification messages from the > > EJBDeployer. I would like to recieve messages containing the JNDI of > > the recently deployed/undeployment EJB. I'm not sure the best way to do > > this. > > > > I'm rather new to JMX, and JBoss, but I understand the general > > principals. Should I right a Listener and register it with the > > EJBDeployer? Is the EJBDeployer broadcasting these messages? Is there > > a message queue that already is accepting these notifications? I'm > > assuming that these two approachs are both acceptable, but different > > (please correct me if I'm wrong). I can either subscribe to a message > > queue that is recieving these notifications, or register a JMX > > notification listner to the EJBDeployer directly. Is this correct, or > > are they related (one in the same)? > > > > Thanks for your help. > > > > <Mike/> > > > > > > P.S. JBoss kicks ass. I'm having a lot of fun with it, and I am > > impressing a lot of my co-workers too. Jboss definitely has become my > > fav. app. server. > > > > P.S.S. I'm using JBoss 3.0 > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
