HateoasLinkInjector<Object> linkInjector = null;
Object linkInjectorProperty = rc.getProperty(PROPERTY_LINK_INJECTOR);
if (linkInjectorProperty == null) {
logger.info("Using default LinkInjcetor");
linkInjector = new JavassistHateoasLinkInjector();
} else {
logger.info("Using {} as LinkInjector", linkInjectorProperty);
try {
linkInjector = (HateoasLinkInjector<Object>)
Class.forName((String) linkInjectorProperty).newInstance();