KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > common > plugin > AbstractPlugin


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

15 public abstract class AbstractPlugin implements Plugin
16 {
17
18    /** The plugin container this plugin is attached to. */
19    protected PluginContainer container;
20
21    public void setPluginContainer(PluginContainer container)
22    {
23       this.container = container;
24    }
25
26    public PluginContainer getPluginContainer()
27    {
28       return container;
29    }
30
31    public void create() throws Exception JavaDoc
32    {
33    }
34
35    public void start() throws Exception JavaDoc
36    {
37    }
38
39    public void stop()
40    {
41    }
42
43    public void destroy()
44    {
45    }
46 }
47
Popular Tags