70717273747576
} @Override public IBundleProvider invokeServer(Request theRequest, Object[] theMethodParams) throws BaseServerResponseException { IResource conf = (IResource) invokeServerMethod(theMethodParams); return new SimpleBundleProvider(conf); }
169170171172173174175176177178
case LIST_OF_RESOURCES: return Collections.singletonList(resource); case RESOURCE: return resource; case BUNDLE_PROVIDER: return new SimpleBundleProvider(resource); } throw new IllegalStateException("" + getMethodReturnType()); // should not happen }
65666768697071
} @Override public IBundleProvider invokeServer(RequestDetails theRequest, Object[] theMethodParams) throws BaseServerResponseException { IResource conf = (IResource) invokeServerMethod(theMethodParams); return new SimpleBundleProvider(conf); }
192193194195196197198199200201