1 16 17 package org.springframework.remoting.caucho; 18 19 import java.io.InputStream ; 20 import java.io.OutputStream ; 21 22 import com.caucho.hessian.server.HessianSkeleton; 23 import com.caucho.hessian.io.SerializerFactory; 24 25 import org.springframework.util.Assert; 26 27 34 abstract class HessianSkeletonInvoker { 35 36 39 protected final HessianSkeleton skeleton; 40 41 44 protected final SerializerFactory serializerFactory; 45 46 47 52 public HessianSkeletonInvoker(HessianSkeleton skeleton, SerializerFactory serializerFactory) { 53 Assert.notNull(skeleton, "HessianSkeleton must not be null"); 54 this.skeleton = skeleton; 55 this.serializerFactory = serializerFactory; 56 } 57 58 59 65 public abstract void invoke(InputStream inputStream, OutputStream outputStream) throws Throwable ; 66 67 } 68 | Popular Tags |