*/
package org.wamblee.system.core;
-public interface RequiredInterface {
-
- /**
- * Name for the interface.
- */
- String getName();
+public interface RequiredInterface extends NamedInterface {
/**
* @return True iff the required interface is optional.
* @return Provider or null if not set.
*/
ProvidedInterface getProvider();
+
+ /**
+ * Determines if the requirements of the current interface are at least those
+ * of the given required interface.
+ */
+ boolean covers(RequiredInterface aInterface);
}