Example usage for org.springframework.remoting.caucho HessianServiceExporter prepare

List of usage examples for org.springframework.remoting.caucho HessianServiceExporter prepare

Introduction

In this page you can find the example usage for org.springframework.remoting.caucho HessianServiceExporter prepare.

Prototype

public void prepare() 

Source Link

Document

Initialize this exporter.

Usage

From source file:com.payu.ratel.register.ServiceRegisterPostProcessor.java

private HessianServiceExporter createHessianExporterService(Object bean) {
    HessianServiceExporter hessianServiceExporter = new RatelHessianServiceExporter();
    hessianServiceExporter.setService(decorateWithMonitoring(bean, getPublishInterface(bean)));
    hessianServiceExporter.setServiceInterface(getPublishInterface(bean));
    hessianServiceExporter.prepare();
    return hessianServiceExporter;
}