1 Reply Latest reply on Sep 17, 2007 9:39 PM by viniciuscarvalho

    Lifecycle methods not being called

    viniciuscarvalho

      Hello there! I'm registering an mbean using the server.registerMBean(objectname,object); method. I have a sar file that contains a custom deployer. This deployer reads a custom xml and register mbeans according to it.
      Although I can see the managed bean on my jmx-console. after being registred it's lifecycle methods (start, create) are not being called, unless I explicit call them. Is this the expected behaviour? Or jboss calls it when it register my mbean and I'm missing something.

      Regards