1 package com.ubermq.jms.server.admin; 2 3 import java.rmi.*; 4 import java.rmi.server.*; 5 import java.util.*; 6 7 16 public class RemotePersistentConsumerAdminProxy 17 extends UnicastRemoteObject 18 implements PersistentConsumerAdmin 19 { 20 private PersistentConsumerAdmin delegate; 21 22 public RemotePersistentConsumerAdminProxy(PersistentConsumerAdmin a) 23 throws RemoteException 24 { 25 super(); 26 this.delegate = a; 27 } 28 29 public boolean equals(Object o) 30 { 31 return delegate.equals(o); 32 } 33 34 41 public void close() throws javax.jms.JMSException , RemoteException 42 { 43 delegate.close(); 44 } 45 46 50 public boolean isQueue() throws RemoteException 51 { 52 return delegate.isQueue(); 53 } 54 55 61 public String getSubscription() throws RemoteException 62 { 63 return delegate.getSubscription(); 64 } 65 66 72 public String getName() throws RemoteException 73 { 74 return delegate.getName(); 75 } 76 77 82 public boolean isActive() throws RemoteException 83 { 84 return delegate.isActive(); 85 } 86 87 95 public String getDescription() throws RemoteException 96 { 97 return delegate.getDescription(); 98 } 99 100 101 } 102 | Popular Tags |