1 22 package org.jboss.test.aop.mcjmx; 23 24 import org.jboss.aop.microcontainer.aspects.jmx.JMX; 25 26 31 @JMX(exposedInterface=BeanInterface.class, name="jboss.aop:name=AnnotatedBean") 32 public class AnnotatedBean implements BeanInterface 33 { 34 int i; 35 36 public int getProperty() 37 { 38 return i; 39 } 40 41 public void setProperty(int i) 42 { 43 this.i = i; 44 } 45 46 public String someAction() 47 { 48 return "JMX" + i; 49 } 50 51 } 52 | Popular Tags |