protected Endpoint createEndpoint(String uri, String remaining, Map parameters) throws Exception {
notNull(applicationContext, "applicationContext");
Object object = applicationContext.getBean(remaining);
if (object != null) {
return new PojoEndpoint(uri, this, object);
}
return null;
}