public InterfaceContract getBindingInterfaceContract() {
return service.getInterfaceContract();
}
public void start() {
JSONRPCEntryPointServlet servlet;
Class<?> aClass = getTargetJavaClass(service.getInterfaceContract().getInterface());
Object instance = component.createSelfReference(aClass).getService();
servlet = new JSONRPCEntryPointServlet(binding.getName(), aClass, instance);
// register the servlet based on the service name
servletHost.addServletMapping(JSONRPC_SERVICE_MAPPING_PREFIX + binding.getName(), servlet);
// if the script getter servlet is not already registered then register