3 Replies Latest reply on May 22, 2006 9:35 PM by William DeCoste

    Using an mBean with @Service & @ Management

    allan bronson Newbie

      I am trying to use an mBean and it is not being called. I have an interface that has the 4 methods listed below:

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

      I have a class that implements this interface and I have the annotaions

      @Service
      @Management

      I deployed my ear file in the deploy-hcsingletor directory, but jboss is not picking it up and deploying it.

      Do I need an xml file to describe my mbean or will jboss pick it up with the annotations above?

      Is JBoss not installed correctly?

      any advice would help.

      Thanks

      ab