@SuppressWarnings("unchecked")
  public <T> T getComponent(Class<T> clazz) {
    try {
      return (T)myContainer.lookup(clazz.getName());
    }
    catch (ComponentLookupException e) {
      throw new RuntimeException(e);
    }
  }
@SuppressWarnings("unchecked")
  public <T> T getComponent(Class<T> clazz)