1 /*2 * JBoss, the OpenSource EJB server3 *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 @Management16 public interface ServiceOneManagement17 {18 void setAttribute(int attribute);19 int getAttribute();20 String sayHello();21 22 void create() throws Exception ;23 void start() throws Exception ;24 void stop();25 void destroy();26 }27