org.jboss.portal.server.kernel
Interface Registration

All Known Implementing Classes:
BaseService, PluginService, ServerObject

public interface Registration

When a service implementation implements this interface it knows about registration events in the kernel related to it. Its registration as well as registration of services that have dependency relationship with it.

Version:
$Revision: 1.1.1.1 $
Author:
Julien Viet

Method Summary
 void addDependsOnMe(ServiceImplementation implementation)
          Add a service depending on this one.
 void addIDependOn(ServiceImplementation implementation)
          Add a service it depends on.
 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 unregister()
          Callback for unregistration.
 

Method Detail

registered

public void registered(Context ctx)
Callback for registration.


unregister

public void unregister()
Callback for unregistration.


addIDependOn

public void addIDependOn(ServiceImplementation implementation)
Add a service it depends on.


removeIDependOn

public void removeIDependOn(ServiceImplementation implementation)
Remove a service it depends on.


addDependsOnMe

public void addDependsOnMe(ServiceImplementation implementation)
Add a service depending on this one.


removeDependsOnMe

public void removeDependsOnMe(ServiceImplementation implementation)
Remove a service depending on this one.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.