1 7 package org.jboss.ejb3.test.standalone; 8 9 import org.jboss.annotation.ejb.Management; 10 import org.jboss.annotation.ejb.Service; 11 import org.jboss.logging.Logger; 12 13 17 @Service(objectName="jboss.test:service=depends") 18 @Management(DependsMBean.class) 19 public class Depends implements DependsMBean 20 { 21 private static final Logger log = Logger.getLogger(Depends.class); 22 23 public void create() throws Exception 24 { 25 log.info("create()"); 26 } 27 28 public void start() throws Exception 29 { 30 log.info("start()"); 31 } 32 33 public void stop() throws Exception 34 { 35 log.info("stop()"); 36 } 37 38 public void destroy() throws Exception 39 { 40 log.info("destroy()"); 41 } 42 43 } 44 | Popular Tags |