connector.updaterClass = getUpdaterClass(beanClassName);
Updater updaterAnnotation = connector.updaterClass
.getAnnotation(Updater.class);
// set connectors' pretty name
connector.prettyName = updaterAnnotation.prettyName();
connector.deviceNickname = updaterAnnotation.deviceNickname().equals(Updater.DEVICE_NICKNAME_NONE)
? updaterAnnotation.prettyName()==null ? connectorName : updaterAnnotation.prettyName()
: updaterAnnotation.deviceNickname();
connector.value = updaterAnnotation.value();
connector.updateStrategyType = updaterAnnotation
.updateStrategyType();