} else {
// this is a entity with no setters, so we don't can set any attributes, the implementation retuns a empty object just containing the id
entity=key.getEntityClass().newInstance();
}
ClusterEntityProcessor processor=new ClusterEntityProcessor();
processor.setID(entity, key.getId());
} catch (IllegalArgumentException e) {
log.error(e.getMessage(),e);
} catch (InstantiationException e) {
log.error(e.getMessage(),e);