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

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

Introduction

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

Prototype

public void setService(Object service) 

Source Link

Document

Set the service to export.

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();/*ww w  .  j  a  v a 2 s .c om*/
    return hessianServiceExporter;
}