X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=system%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2Fcore%2FComponent.java;h=ff80ee693acdcba8f70443cf4bb704ba4821a2d5;hb=d89a08c127770dfe9b25e88495c7545bbcc938fa;hp=9409e44f6b0cb9a1c2eef2d95cc6ce9ebd3c5e3b;hpb=f4bb0b383ded9c7303a5d81cc6ee87df530d6716;p=utils diff --git a/system/general/src/main/java/org/wamblee/system/core/Component.java b/system/general/src/main/java/org/wamblee/system/core/Component.java index 9409e44f..ff80ee69 100644 --- a/system/general/src/main/java/org/wamblee/system/core/Component.java +++ b/system/general/src/main/java/org/wamblee/system/core/Component.java @@ -23,16 +23,6 @@ package org.wamblee.system.core; */ public interface Component { - enum Status { - NOT_STARTED, RUNNING, STOPPED - } - - /** - * Gets the status of the component. - * @return Status. - */ - Status getStatus(); - /** * Gets the name of the subsystem. * @return Subsystem name. @@ -78,7 +68,7 @@ public interface Component { * {@link #initialize(String, Service[])} has been called. * @return */ - ProvidedInterface[] getRunningServices(); + ProvidedInterface[] getRunningInterfaces(); /** * Stops a subsystem.