public class ServiceContainer extends java.lang.Object implements ServiceManager, Application
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
components |
protected ProcessingManager |
manager |
SERVICE| Constructor and Description |
|---|
ServiceContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(Component c) |
Component[] |
getServiceComponents(java.lang.String service) |
protected java.util.List |
getServiceComponentsByServiceField(java.lang.String service) |
void |
setProcessingManager(ProcessingManager manager) |
void |
setupComponents() |
void |
start()
Starts the application.
|
void |
stop()
Stops the application
|
protected java.util.List components
protected ProcessingManager manager
public void addComponent(Component c)
public Component[] getServiceComponents(java.lang.String service)
getServiceComponents in interface ServiceManagerservice - the searched serviceprotected java.util.List getServiceComponentsByServiceField(java.lang.String service)
public void setupComponents()
public void start()
Applicationstart in interface Applicationpublic void stop()
Applicationstop in interface Applicationpublic void setProcessingManager(ProcessingManager manager)