Package Framework.remoting

Examples of Framework.remoting.PluggableRmiProxyFactoryBean.afterPropertiesSet()


        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


        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
Copyright © 2018 www.massapi.com. 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.