Class resourceClaz = current.getServiceClass();
if (resourceClaz != null) {
try {
Object instance = GuiceContext.getInstance().getBean(
resourceClaz);
return new Service(instance, current.getMethod());
} catch (Exception e) {
e.printStackTrace();
}
}