X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=trunk%2Fsystem%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsystem%2FRequiredInterfaceDescriptor.java;h=9e86767a95c987465f092d259a9272b40a99e1f8;hb=0693729bd1879bbfb47854850b269cee7d1354ac;hp=1a1237b88d36fc2c39f52214bacbc1385e234077;hpb=b3b089769ce42270c3915f80d056a7955309ce3a;p=utils diff --git a/trunk/system/general/src/main/java/org/wamblee/system/RequiredInterfaceDescriptor.java b/trunk/system/general/src/main/java/org/wamblee/system/RequiredInterfaceDescriptor.java index 1a1237b8..9e86767a 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/RequiredInterfaceDescriptor.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/RequiredInterfaceDescriptor.java @@ -1,6 +1,16 @@ package org.wamblee.system; -public interface RequiredInterfaceDescriptor extends InterfaceDescriptor { +public interface RequiredInterfaceDescriptor { - boolean implementedBy(ProvidedInterfaceDescriptor aDescriptor); + /** + * Name for the interface. + */ + public String getName(); + + /** + * Checks if the service is provided by a given provided interface. + * @param aInterface Provided interface. + * @return + */ + boolean implementedBy(ProvidedInterfaceDescriptor aInterface); }