org.jboss.portal.server.plugins
Class PluginService

java.lang.Object
  extended by org.jboss.portal.common.plugin.AbstractPlugin
      extended by org.jboss.portal.server.plugins.PluginService
All Implemented Interfaces:
MetaDataHolder, Plugin, Registration, Service
Direct Known Subclasses:
AccessController, ContentTypes, InvocationPlugin, ModelPlugin, Modes, PageRepository, PreferenceSetPlugin, ProxyPreferenceSetPlugin, ResourceBundles, TransactionPlugin, WindowStates

public abstract class PluginService
extends AbstractPlugin
implements Service, Registration


Field Summary
protected  Context ctx
           
 
Fields inherited from class org.jboss.portal.common.plugin.AbstractPlugin
container
 
Constructor Summary
PluginService()
           
 
Method Summary
 void addDependsOnMe(ServiceImplementation implementation)
          Add a service depending on this one.
 void addIDependOn(ServiceImplementation implementation)
          Add a service it depends on.
 void create()
          Create.
 void destroy()
          Destroy.
 void registered(Context ctx)
          Callback for registration.
 void removeDependsOnMe(ServiceImplementation implementation)
          Remove a service depending on this one.
 void removeIDependOn(ServiceImplementation implementation)
          Remove a service it depends on.
 void start()
          Start.
 void stop()
          Stop.
 void unregister()
          Callback for unregistration.
 
Methods inherited from class org.jboss.portal.common.plugin.AbstractPlugin
getPluginContainer, setPluginContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.portal.common.metadata.MetaDataHolder
getMetaData, setMetaData
 

Field Detail

ctx

protected Context ctx
Constructor Detail

PluginService

public PluginService()
Method Detail

create

public void create()
            throws java.lang.Exception
Description copied from interface: Service
Create.

Specified by:
create in interface Service
Overrides:
create in class AbstractPlugin
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Description copied from interface: Service
Start.

Specified by:
start in interface Service
Overrides:
start in class AbstractPlugin
Throws:
java.lang.Exception

stop

public void stop()
Description copied from interface: Service
Stop.

Specified by:
stop in interface Service
Overrides:
stop in class AbstractPlugin

destroy

public void destroy()
Description copied from interface: Service
Destroy.

Specified by:
destroy in interface Service
Overrides:
destroy in class AbstractPlugin

addDependsOnMe

public void addDependsOnMe(ServiceImplementation implementation)
Description copied from interface: Registration
Add a service depending on this one.

Specified by:
addDependsOnMe in interface Registration

addIDependOn

public void addIDependOn(ServiceImplementation implementation)
Description copied from interface: Registration
Add a service it depends on.

Specified by:
addIDependOn in interface Registration

removeDependsOnMe

public void removeDependsOnMe(ServiceImplementation implementation)
Description copied from interface: Registration
Remove a service depending on this one.

Specified by:
removeDependsOnMe in interface Registration

removeIDependOn

public void removeIDependOn(ServiceImplementation implementation)
Description copied from interface: Registration
Remove a service it depends on.

Specified by:
removeIDependOn in interface Registration

registered

public void registered(Context ctx)
Description copied from interface: Registration
Callback for registration.

Specified by:
registered in interface Registration

unregister

public void unregister()
Description copied from interface: Registration
Callback for unregistration.

Specified by:
unregister in interface Registration