Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2005-2012 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package org.kuali.rice.ksb.messaging.serviceproxies;
Used to Call a service synchronously but through the messaging code within workflow. Used to when switching generally asynchronously called services to synchronously called services. Generally for testing purposes.

Kuali Rice Team (
    private SynchronousServiceCallProxy(List<EndpointendpointsAsynchronousCallback callback,
	    Serializable contextString value1String value2) {
    public static Object createInstance(List<EndpointendpointsAsynchronousCallback callback,
	    Serializable contextString value1String value2) {
	if (endpoints == null || endpoints.isEmpty()) {
	    throw new RuntimeException("Cannot create service proxy, no service(s) passed in.");
	try {
	return Proxy.newProxyInstance(ClassLoaderUtils.getDefaultClassLoader(), ContextClassLoaderProxy
catch (Exception e) {
	    throw new RiceRuntimeException(e);
    protected void executeMessage(PersistedMessageBO message) {
	    new MessageServiceInvoker(message).run();
New to GrepCode? Check out our FAQ X