KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ejb3 > test > standalone > Depends


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

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 /**
14  * @version <tt>$Revision: 44596 $</tt>
15  * @author <a HREF="mailto:bdecoste@jboss.com">William DeCoste</a>
16  */

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 JavaDoc
24    {
25       log.info("create()");
26    }
27
28    public void start() throws Exception JavaDoc
29    {
30       log.info("start()");
31    }
32
33    public void stop() throws Exception JavaDoc
34    {
35       log.info("stop()");
36    }
37
38    public void destroy() throws Exception JavaDoc
39    {
40       log.info("destroy()");
41    }
42
43 }
44
Popular Tags