I created an interface called TestManagement which had these methods listed

void create throws Exception
void start throws Exception
void stop
void  destroy

I used the @Management annotation and then  implemented this interface with the 
class

Test.  I used the @Service annotation in this class.

I just want to print out and see that it is crreated and starting. 

My code in the start method calls another bean that creates Timers.  We are in 
a jboss clustering environment and do not want these timers being fired on each 
node, but just one.  Everything compiled and I deployed my ear file to the 

deploy-hcsingleton directory ( this may be the wrong name - I don't have it in 
front of me at the moment ).   I did not see any of the 4 meothds listed above 
be called.  

What am I missing?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944973#3944973

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944973


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to