git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added spring subsystem implementation.
[utils]
/
trunk
/
system
/
general
/
src
/
main
/
java
/
org
/
wamblee
/
system
/
SubSystem.java
diff --git
a/trunk/system/general/src/main/java/org/wamblee/system/SubSystem.java
b/trunk/system/general/src/main/java/org/wamblee/system/SubSystem.java
index 9d68ee4e39a98c312c21790fd8b7ac5d1d03e8ee..e25766d655eb43c4ca56cc4272449af683037ee8 100644
(file)
--- a/
trunk/system/general/src/main/java/org/wamblee/system/SubSystem.java
+++ b/
trunk/system/general/src/main/java/org/wamblee/system/SubSystem.java
@@
-33,7
+33,12
@@
public interface SubSystem {
* subsystems that are required by this subsystem.
* @return Services that are running in the subsystem.
*/
* subsystems that are required by this subsystem.
* @return Services that are running in the subsystem.
*/
- Service[] initialize(String aContext, Service[] aRequiredServices);
+ Service[] start(String aContext, Service[] aRequiredServices);
+
+ /**
+ * Stops a subsystem.
+ */
+ void stop();
/**
* Gets the list of running services in the subsystem.
/**
* Gets the list of running services in the subsystem.