1 45 46 47 package org.openejb.util.proxy; 48 49 50 import java.io.Serializable ; 51 import java.lang.reflect.Method ; 52 import java.rmi.NoSuchObjectException ; 53 54 55 public class InvalidatedReferenceHandler implements InvocationHandler, Serializable { 56 public Object invoke(Object proxy, Method method, Object [] args) throws Throwable { 57 throw new NoSuchObjectException ("reference is invalid"); 58 } 59 } 60 | Popular Tags |