This content has been marked as final.
Show 2 replies
-
1. Re: ServiceMBean ServiceMBeanSupport?
chuckharris Jul 21, 2004 6:27 PM (in response to chuckharris)I am guessing that ServiceMBeanSupport is gone. I made changes to implement the new org.jboss.system.ServiceMBean and added:
public void jbossInternalLifecycle(String p)
{
}
public String getStateString()
{
return "";
}
public int getState()
{
return 1;
}
public void destroy()
{
}
and changed startService to start and endService to end. I can see the mbean attributes pass from the -service.xml but the start is never called. Is this done differently now? What should the above methods look like? -
2. Re: ServiceMBean ServiceMBeanSupport?
chuckharris Jul 21, 2004 7:18 PM (in response to chuckharris)Nevermind. I deleted the jar so ant couldn't find it.