@Override public void disableAll() { for (Class<?> clazz : interfaces.getInterfaces()) { ((ICommand) interfaces.getImplementation(clazz)).enable(false); } interfaces.clear(); }
public String toString() { StringBuffer buffer = new StringBuffer(); for (Class<?> clazz : interfaces.getInterfaces()) { if (buffer.length() > 0) { buffer.append(","); } buffer.append(clazz.getName()); } return buffer.toString(); }