KickJava   Java API By Example, From Geeks To Geeks.

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


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  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
13  * @version $Revision: 1.1.1.1 $
14  */

15 public class BaseService implements Service, Registration
16 {
17
18    protected Context ctx;
19
20    public void addIDependOn(ServiceImplementation implementation)
21    {
22    }
23
24    public void removeIDependOn(ServiceImplementation implementation)
25    {
26    }
27
28    public void addDependsOnMe(ServiceImplementation implementation)
29    {
30    }
31
32    public void removeDependsOnMe(ServiceImplementation implementation)
33    {
34    }
35
36    public void registered(Context ctx)
37    {
38       this.ctx = ctx;
39    }
40
41    public void unregister()
42    {
43       this.ctx = null;
44    }
45
46    public void create() throws Exception JavaDoc
47    {
48    }
49
50    public void start() throws Exception JavaDoc
51    {
52    }
53
54    public void stop()
55    {
56    }
57
58    public void destroy()
59    {
60    }
61 }
62
Popular Tags