1 package org.apache.ojb.broker.core.proxy; 2 3 17 18 import java.io.Serializable ; 19 import java.lang.reflect.Method ; 20 21 import org.apache.ojb.broker.Identity; 22 import org.apache.ojb.broker.PBKey; 23 import org.apache.ojb.broker.PersistenceBrokerException; 24 25 26 27 35 public interface IndirectionHandler extends Serializable 36 { 37 42 PBKey getBrokerKey(); 43 44 49 Identity getIdentity(); 50 51 102 Object invoke(Object proxy, Method method, Object [] args); 103 104 109 Object getRealSubject() throws PersistenceBrokerException; 110 111 118 void setRealSubject(Object object); 119 120 125 boolean alreadyMaterialized(); 126 127 132 void addListener(MaterializationListener l); 133 134 139 void removeListener(MaterializationListener l); 140 } 141 | Popular Tags |