KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > tutorial > service > bean > ServiceOneManagement


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

7 package org.jboss.tutorial.service.bean;
8
9 import org.jboss.annotation.ejb.Management;
10
11 /**
12  * @author <a HREF="mailto:kabir.khan@jboss.org">Kabir Khan</a>
13  * @version $Revision: 1.2.2.3 $
14  */

15 @Management
16 public interface ServiceOneManagement
17 {
18    void setAttribute(int attribute);
19    int getAttribute();
20    String JavaDoc sayHello();
21
22    void create() throws Exception JavaDoc;
23    void start() throws Exception JavaDoc;
24    void stop();
25    void destroy();
26 }
27
Popular Tags