org.kabeja.ui.impl
Class ServiceContainer
java.lang.Object
org.kabeja.ui.impl.ServiceContainer
- All Implemented Interfaces:
- Application, Component, ServiceManager
public class ServiceContainer
- extends java.lang.Object
- implements ServiceManager, Application
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
components
protected java.util.List components
manager
protected ProcessingManager manager
ServiceContainer
public ServiceContainer()
addComponent
public void addComponent(Component c)
getServiceComponents
public Component[] getServiceComponents(java.lang.String service)
- Specified by:
getServiceComponents
in interface ServiceManager
- Parameters:
service
- the searched service
- Returns:
- an array of Components which provides the service
getServiceComponentsByServiceField
protected java.util.List getServiceComponentsByServiceField(java.lang.String service)
setupComponents
public void setupComponents()
start
public void start()
- Description copied from interface:
Application
- Starts the application.
- Specified by:
start
in interface Application
stop
public void stop()
- Description copied from interface:
Application
- Stops the application
- Specified by:
stop
in interface Application
setProcessingManager
public void setProcessingManager(ProcessingManager manager)