List of usage examples for org.springframework.remoting.caucho HessianServiceExporter setServiceInterface
public void setServiceInterface(Class<?> serviceInterface)
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();//from ww w . j a v a2 s .c om return hessianServiceExporter; }