X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=system%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2FSubSystem.java;h=babb9e025edbd7ce2e15bdeb114e576451b19aaf;hb=4c7e63f11337abfaa6ea13eab4b6ca11891f4977;hp=9d68ee4e39a98c312c21790fd8b7ac5d1d03e8ee;hpb=35b19fe3a3158e865125153d53cd7d106ab2fae4;p=utils diff --git a/system/general/src/main/java/org/wamblee/system/SubSystem.java b/system/general/src/main/java/org/wamblee/system/SubSystem.java index 9d68ee4e..babb9e02 100644 --- a/system/general/src/main/java/org/wamblee/system/SubSystem.java +++ b/system/general/src/main/java/org/wamblee/system/SubSystem.java @@ -29,11 +29,13 @@ public interface SubSystem { * Initialises the subsytem by starting all the services that * it described as provided. * @param aContext Unique name for the subsystem. + * @param aRegistry Registry of service to which the subsystem must register the services it + * creates. * @param aRequiredServices Running services from other * 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, ServiceRegistry aRegistry, Service[] aRequiredServices); /** * Gets the list of running services in the subsystem.