Example usage for org.springframework.remoting.caucho HessianProxyFactoryBean setServiceUrl

List of usage examples for org.springframework.remoting.caucho HessianProxyFactoryBean setServiceUrl

Introduction

In this page you can find the example usage for org.springframework.remoting.caucho HessianProxyFactoryBean setServiceUrl.

Prototype

public void setServiceUrl(String serviceUrl) 

Source Link

Document

Set the URL of this remote accessor's target service.

Usage

From source file:org.jdal.remoting.caucho.HessianRemoteReference.java

public RemoteClient createRemoteClient() {
    HessianProxyFactoryBean factoryBean = new HessianProxyFactoryBean();
    factoryBean.setServiceInterface(getServiceInterface());
    factoryBean.setServiceUrl(getServiceUrl());

    return (RemoteClient) factoryBean.getObject();
}