public ManagementAPI getManagementAPI(String queryList){ RESTRemoteManagementAPI remoteManagementAPI = getRESTAccess(RESTRemoteManagementAPI.class); return AccessorProxyUtil.getRemoteClientAPI(ManagementAPI.class, remoteManagementAPI, queryList); }
@Override public QueryDefinitionAPI getQueryDefinitionAPI(final String queryList) { final RemoteQueryDefinitionAPI remoteQueryRuntimeAPI = getRESTAccess(RemoteQueryDefinitionAPI.class); return AccessorProxyUtil.getRemoteClientAPI(QueryDefinitionAPI.class, remoteQueryRuntimeAPI, queryList); }
@Override public BAMAPI getBAMAPI(final String queryList) { final RemoteBAMAPI remoteBAMAPI = getRESTAccess(RemoteBAMAPI.class); return AccessorProxyUtil.getRemoteClientAPI(BAMAPI.class, remoteBAMAPI, queryList); }
public IdentityAPI getIdentityAPI(String queryList){ RESTRemoteIdentityAPI remoteIdentityAPI = getRESTAccess(RESTRemoteIdentityAPI.class); return AccessorProxyUtil.getRemoteClientAPI(IdentityAPI.class, remoteIdentityAPI, queryList); }
public RepairAPI getRepairAPI(String queryList){ RESTRemoteRepairAPI remoteRepairAPI = getRESTAccess(RESTRemoteRepairAPI.class); return AccessorProxyUtil.getRemoteClientAPI(RepairAPI.class, remoteRepairAPI, queryList); }
public WebAPI getWebAPI(String queryList){ RESTRemoteWebAPI remoteWebAPI = getRESTAccess(RESTRemoteWebAPI.class); return AccessorProxyUtil.getRemoteClientAPI(WebAPI.class, remoteWebAPI, queryList); }
@Override public BAMAPI getBAMAPI(final String queryList) { final RemoteBAMAPI remoteBAMAPI = getRESTAccess(RemoteBAMAPI.class); return AccessorProxyUtil.getRemoteClientAPI(BAMAPI.class, remoteBAMAPI, queryList); }
public IdentityAPI getIdentityAPI(String queryList){ RESTRemoteIdentityAPI remoteIdentityAPI = getRESTAccess(RESTRemoteIdentityAPI.class); return AccessorProxyUtil.getRemoteClientAPI(IdentityAPI.class, remoteIdentityAPI, queryList); }
@Override public QueryDefinitionAPI getQueryDefinitionAPI(final String queryList) { final RemoteQueryDefinitionAPI remoteQueryRuntimeAPI = getRESTAccess(RemoteQueryDefinitionAPI.class); return AccessorProxyUtil.getRemoteClientAPI(QueryDefinitionAPI.class, remoteQueryRuntimeAPI, queryList); }
@Override public QueryRuntimeAPI getQueryRuntimeAPI(final String queryList) { final RESTRemoteQueryRuntimeAPI remoteQueryRuntimeAPI = getRESTAccess(RESTRemoteQueryRuntimeAPI.class); return AccessorProxyUtil.getRemoteClientAPI(QueryRuntimeAPI.class, remoteQueryRuntimeAPI, queryList); }
public ManagementAPI getManagementAPI(String queryList){ RESTRemoteManagementAPI remoteManagementAPI = getRESTAccess(RESTRemoteManagementAPI.class); return AccessorProxyUtil.getRemoteClientAPI(ManagementAPI.class, remoteManagementAPI, queryList); }
public RepairAPI getRepairAPI(String queryList){ RESTRemoteRepairAPI remoteRepairAPI = getRESTAccess(RESTRemoteRepairAPI.class); return AccessorProxyUtil.getRemoteClientAPI(RepairAPI.class, remoteRepairAPI, queryList); }
public WebAPI getWebAPI(String queryList){ RESTRemoteWebAPI remoteWebAPI = getRESTAccess(RESTRemoteWebAPI.class); return AccessorProxyUtil.getRemoteClientAPI(WebAPI.class, remoteWebAPI, queryList); }
@Override public QueryRuntimeAPI getQueryRuntimeAPI(final String queryList) { final RESTRemoteQueryRuntimeAPI remoteQueryRuntimeAPI = getRESTAccess(RESTRemoteQueryRuntimeAPI.class); return AccessorProxyUtil.getRemoteClientAPI(QueryRuntimeAPI.class, remoteQueryRuntimeAPI, queryList); }
public CommandAPI getCommandAPI(String queryList){ RemoteCommandAPI remoteCommandAPI = getRESTAccess(RemoteCommandAPI.class); CommandAPI commandAPI = AccessorProxyUtil.getRemoteClientAPI(CommandAPI.class, remoteCommandAPI, queryList); //add REST interceptor RESTClientAPIInterceptor restInterceptor = new RESTClientAPIInterceptor(commandAPI); Class<CommandAPI> clazz = CommandAPI.class; return clazz.cast(Proxy.newProxyInstance(APIAccessor.class.getClassLoader(), new Class[] {clazz}, restInterceptor)); }
public RuntimeAPI getRuntimeAPI(String queryList){ RESTRemoteRuntimeAPI remoteRuntimeAPI = getRESTAccess(RESTRemoteRuntimeAPI.class); RuntimeAPI runtimeAPI = AccessorProxyUtil.getRemoteClientAPI(RuntimeAPI.class, remoteRuntimeAPI, queryList); //add REST interceptor RESTClientAPIInterceptor restInterceptor = new RESTClientAPIInterceptor(runtimeAPI); Class<RuntimeAPI> clazz = RuntimeAPI.class; return clazz.cast(Proxy.newProxyInstance(APIAccessor.class.getClassLoader(), new Class[] {clazz}, restInterceptor)); }
public CommandAPI getCommandAPI(String queryList){ RemoteCommandAPI remoteCommandAPI = getRESTAccess(RemoteCommandAPI.class); CommandAPI commandAPI = AccessorProxyUtil.getRemoteClientAPI(CommandAPI.class, remoteCommandAPI, queryList); //add REST interceptor RESTClientAPIInterceptor restInterceptor = new RESTClientAPIInterceptor(commandAPI); Class<CommandAPI> clazz = CommandAPI.class; return clazz.cast(Proxy.newProxyInstance(APIAccessor.class.getClassLoader(), new Class[] {clazz}, restInterceptor)); }
public RuntimeAPI getRuntimeAPI(String queryList){ RESTRemoteRuntimeAPI remoteRuntimeAPI = getRESTAccess(RESTRemoteRuntimeAPI.class); RuntimeAPI runtimeAPI = AccessorProxyUtil.getRemoteClientAPI(RuntimeAPI.class, remoteRuntimeAPI, queryList); //add REST interceptor RESTClientAPIInterceptor restInterceptor = new RESTClientAPIInterceptor(runtimeAPI); Class<RuntimeAPI> clazz = RuntimeAPI.class; return clazz.cast(Proxy.newProxyInstance(APIAccessor.class.getClassLoader(), new Class[] {clazz}, restInterceptor)); }
public RuntimeAPI getRuntimeAPI(final String queryList) { try { return AccessorProxyUtil.getRemoteClientAPI(RuntimeAPI.class, Misc.lookup(AccessorUtil.RUNTIMEAPI_JNDINAME, jndiEnvironment), queryList); } catch (final NamingException e) { throw new BonitaRuntimeException(e); } }
public QueryDefinitionAPI getQueryDefinitionAPI(final String queryList) { try { return AccessorProxyUtil.getRemoteClientAPI(QueryDefinitionAPI.class, Misc.lookup(AccessorUtil.QUERYDEFINITION_JNDINAME, jndiEnvironment), queryList); } catch (final NamingException e) { throw new BonitaRuntimeException(e); } }