Package Framework.remoting

Examples of Framework.remoting.PluggableRmiProxyFactoryBean


        }
    }

    protected Object resolveProxy(){
        // client side
        PluggableRmiProxyFactoryBean bean = new PluggableRmiProxyFactoryBean();
        // set service URI amd interface
        bean.setServiceUrl(getServiceUrl());
        _log.debug("resolveProxy serviceURL: " + bean.getServiceUrl());
        bean.setServiceInterface(MethodInvoker.class);
        // TF:13/05/2009:Set this method to retry a connection if the server connection drops out for some reason
        bean.setRefreshStubOnConnectFailure(true);
        bean.afterPropertiesSet();
        // get the proxy
        return bean.getObject();
    }
View Full Code Here


        }
    }

    protected Object resolveProxy(){
        // client side
        PluggableRmiProxyFactoryBean bean = new PluggableRmiProxyFactoryBean();
        // set service URI amd interface
        bean.setServiceUrl(getServiceUrl());
        _log.debug("resolveProxy serviceURL: " + bean.getServiceUrl());
        bean.setServiceInterface(MethodInvoker.class);
        // TF:13/05/2009:Set this method to retry a connection if the server connection drops out for some reason
        bean.setRefreshStubOnConnectFailure(true);
        bean.afterPropertiesSet();
        // get the proxy
        return bean.getObject();
    }
View Full Code Here

TOP

Related Classes of Framework.remoting.PluggableRmiProxyFactoryBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.