1 package com.ubermq.jms.server.admin; 2 3 import java.rmi.*; 4 import java.rmi.server.*; 5 6 13 public class RemoteConnectionAdminProxy 14 extends UnicastRemoteObject 15 implements ConnectionAdmin 16 { 17 private ConnectionAdmin delegate; 18 19 public RemoteConnectionAdminProxy(ConnectionAdmin a) 20 throws RemoteException 21 { 22 super(); 23 this.delegate = a; 24 } 25 26 public boolean equals(Object o) 27 { 28 return delegate.equals(o); 29 } 30 31 35 public void close() throws RemoteException 36 { 37 delegate.close(); 38 } 39 40 43 public void start() throws RemoteException 44 { 45 delegate.start(); 46 } 47 48 56 public java.util.Collection getSubscriptions() throws RemoteException 57 { 58 return delegate.getSubscriptions(); 59 } 60 61 67 public String getName() throws RemoteException 68 { 69 return delegate.getName(); 70 } 71 72 76 public void stop() throws RemoteException 77 { 78 delegate.stop(); 79 } 80 81 88 public boolean isActive() throws RemoteException 89 { 90 return delegate.isActive(); 91 } 92 93 94 } 95 | Popular Tags |