KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > server > kernel > Service


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.server.kernel;
10
11 /**
12  * Service lifecycle. That interface should be used by the kernel ONLY.
13  *
14  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
15  * @version $Revision: 1.1.1.1 $
16  */

17 public interface Service
18 {
19    /**
20     * Create.
21     */

22    void create() throws Exception JavaDoc;
23
24    /**
25     * Start.
26     */

27    void start() throws Exception JavaDoc;
28
29    /**
30     * Stop.
31     */

32    void stop();
33
34    /**
35     * Destroy.
36     */

37    void destroy();
38 }
39
Popular Tags