org.jboss.portal.server.kernel
Interface Registration

All Known Implementing Classes:
AccessController, Application, BaseService, Component, ContentTypes, CorePortal, Instance, InvocationPlugin, ModelPlugin, Modes, NullService, NullService, Page, PageRepository, PluginService, Portal, PortalServer, PortletApplication, PortletContainer, PortletPreferenceSetPlugin, PreferenceSetPlugin, ProxyPreferenceSetPlugin, ResourceBundles, RuleAuthorizationRealm, ServerObject, Window, WindowStates

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.


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

void registered(Context ctx)
Callback for registration.


unregister

void unregister()
Callback for unregistration.


addIDependOn

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


removeIDependOn

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


addDependsOnMe

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


removeDependsOnMe

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