callbackType = context.getTypeOracle().findType(Callback.class.getCanonicalName());
restProxyType = context.getTypeOracle().findType(RestProxy.class.getCanonicalName());
javascriptObjectType = context.getTypeOracle().findType(JavaScriptObject.class.getCanonicalName());
viewBindableType = context.getTypeOracle().findType(ViewBindable.class.getCanonicalName());
viewAwareType = context.getTypeOracle().findType(ViewAware.class.getCanonicalName());
UseJsonP jsonP = baseIntf.getAnnotation(UseJsonP.class);
useJsonP = jsonP != null;
if (useJsonP)
{
jsonPRestCreatorHelper = new JsonPRestCreatorHelper(context, logger);
jsonPCallbackParam = jsonP.callbackParam();
jsonPFailureCallbackParam = jsonP.failureCallbackParam();
}
queryParameterHandler = new QueryParameterHandler(context);
bodyParameterHandler = new BodyParameterHandler(logger, context);
serviceBasePath = getServiceBasePath(context);
initializeRestMethods();