0 Replies Latest reply on Jul 18, 2008 3:32 AM by asdf asdf

    ProgrammaticServices and JBoss life cycle

    asdf asdf Newbie

      I'm trying to create an mbean programmatically. that isn't quite a problem, but how to get it into the jboss lifecyle is not clear to me.


      the above wiki entry suggests the servicecontroller, but i am not sure if this is the right point to start.

      i got my service started calling server.invoke(ServiceController.OBJECT_NAME, "register",...) etc.
      but it is not started from jboss as i expected (dep. management etc. missing, shutdown, ...)

      I suppose that is because the lifecycle is build upon jmx. so my question is how would i get my mbean into jboss lifecycle?