0 Replies Latest reply on Jul 25, 2011 4:41 AM by red Car

    Configuration of Attributes of a EJB

    red Car Newbie



      I have a configuration of my TestBean like this:


      public class TestBean implements TestBeanRemote, TestBeanLocal




          name = "adminEmail",

          type = String.class,



        String adminEmail;



        public void sayHello()


          System.out.println("I say hello : " + adminEmail);



      and the entry inside ejb-jar.xml:


      <?xml version="1.0" encoding="UTF-8"?>

      <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

        version="3.0" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">





              <description>admin email</description>








      This is working fine.


      My question is:


      What do I have to do, that I can configure the EJB about the JMX MBean View?

      The bean is listed inside jboss.j2ee, but the field adminEmail I can not see on the info page for this bean.


      Is it possible, make it sense and is there a documentation for this?


      Thank you,