X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=trunk%2Fsystem%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2FComponent.java;h=4083c5bd6fc9e28f2e4b04e096e659d06b5d0d9b;hb=43ab66f665c102850f1d31d1e96244899c9ff407;hp=afbed94cd677fb04e8e049cddd25d3e53132b756;hpb=dad26539430794660327ee3dbe07cc23374638f0;p=utils diff --git a/trunk/system/general/src/main/java/org/wamblee/system/Component.java b/trunk/system/general/src/main/java/org/wamblee/system/Component.java index afbed94c..4083c5bd 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/Component.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/Component.java @@ -28,24 +28,21 @@ public interface Component { * Gets a description of the provided interfaces. * @return Provided interfaces. */ - ProvidedInterfaceDescriptor[] getProvidedServices(); + ProvidedInterface[] getProvidedServices(); /** * Gets a description of the required interfaces. * @return Required interfaces. */ - RequiredInterfaceDescriptor[] getRequiredServices(); + RequiredInterface[] getRequiredServices(); /** * Initialises the subsytem by starting all the services that * it described as provided. - * @param aContext Unique name for the subsystem. - * @param aRequiredServices Running services from other - * subsystems that are required by this subsystem. - * @return Services that are running in the subsystem. + * @param aContext Unique name for the subsystem. */ - Service[] start(String aContext, Service[] aRequiredServices); + void start(String aContext); /** * Stops a subsystem. @@ -59,5 +56,5 @@ public interface Component { * {@link #initialize(String, Service[])} has been called. * @return */ - Service[] getRunningServices(); + ProvidedInterface[] getRunningServices(); }