1 22 package org.jboss.ejb3.test.bank; 23 24 import org.jboss.logging.Logger; 25 26 32 public class TellerRemoteProxyFactory extends org.jboss.ejb3.stateless.StatelessRemoteProxyFactory 33 { 34 private static final Logger log = Logger.getLogger(TellerRemoteProxyFactory.class); 35 36 protected Class [] getInterfaces() 37 { 38 Class [] remoteInterfaces = super.getInterfaces(); 39 40 Class [] interfaces = new Class [remoteInterfaces.length + 1]; 41 42 System.arraycopy(remoteInterfaces, 0, interfaces, 0, remoteInterfaces.length); 43 interfaces[remoteInterfaces.length] = org.jboss.ejb3.test.bank.ProxyFactoryInterface.class; 44 45 return interfaces; 46 } 47 } 48 | Popular Tags |