Example usage for org.springframework.remoting.httpinvoker HttpInvokerProxyFactoryBean setCodebaseUrl

List of usage examples for org.springframework.remoting.httpinvoker HttpInvokerProxyFactoryBean setCodebaseUrl

Introduction

In this page you can find the example usage for org.springframework.remoting.httpinvoker HttpInvokerProxyFactoryBean setCodebaseUrl.

Prototype

public void setCodebaseUrl(@Nullable String codebaseUrl) 

Source Link

Document

Set the codebase URL to download classes from if not found locally.

Usage

From source file:org.jdal.remoting.httpinvoker.HttpInvokerRemoteReference.java

/**
 * {@inheritDoc}/*from   w w w.  jav a 2  s .c om*/
 */
@Override
public RemoteClient createRemoteClient() {
    HttpInvokerProxyFactoryBean factoryBean = new HttpInvokerProxyFactoryBean();
    factoryBean.setServiceUrl(getServiceUrl());
    factoryBean.setServiceInterface(getServiceInterface());
    factoryBean.setCodebaseUrl(codebaseUrl);
    factoryBean.afterPropertiesSet();

    return (RemoteClient) factoryBean.getObject();
}