{
try
{
Class<?> controllerClass = Class.forName(controller);
Controller annot = controllerClass.getAnnotation(Controller.class);
Device[] devices = annot.supportedDevices();
String resourceKey = annot.value();
if (devices == null || devices.length ==0)
{
addResource(controllerClass, resourceKey, Device.all);
}