* a description of the resource
* @return the external resource dependency
*/
public static ExternalResourceDependency createExternalResourceDependency(final String aKey,
final Class<?> aInterface, final boolean aOptional, String aDescription) {
ExternalResourceDependency dep = new ExternalResourceDependency_impl();
dep.setInterfaceName(aInterface.getName());
dep.setKey(aKey);
dep.setOptional(aOptional);
dep.setDescription(aDescription);
return dep;
}