1 45 package org.exolab.jms.net.rmi; 46 47 import java.rmi.MarshalException ; 48 import java.rmi.MarshalledObject ; 49 import java.rmi.server.RemoteObject ; 50 51 52 58 public class RMIInvokerImpl extends RemoteObject implements RMIInvoker { 59 60 63 private RMIManagedConnection _connection; 64 65 66 69 public RMIInvokerImpl() { 70 } 71 72 77 public void setConnection(RMIManagedConnection connection) { 78 _connection = connection; 79 } 80 81 89 public MarshalledObject invoke(MarshalledObject request) 90 throws MarshalException { 91 return _connection.invokeLocal(request); 92 } 93 94 97 public void ping() { 98 } 101 } 102 | Popular Tags |