1 22 package org.jboss.aop.joinpoint; 23 24 import org.jboss.aop.Advisor; 25 import org.jboss.aop.advice.Interceptor; 26 import org.jboss.aop.metadata.SimpleMetaData; 27 28 import java.util.Map ; 29 30 36 public interface Invocation 37 { 38 Map getResponseContextInfo(); 39 40 void setResponseContextInfo(Map responseContextInfo); 41 42 void addResponseAttachment(Object key, Object val); 43 44 Object getResponseAttachment(Object key); 45 46 49 SimpleMetaData getMetaData(); 50 51 54 void setMetaData(SimpleMetaData data); 55 56 63 Object resolveClassMetaData(Object key, Object attr); 64 65 72 Object resolveClassAnnotation(Class annotation); 73 74 81 Object resolveAnnotation(Class annotation); 82 83 90 Object resolveAnnotation(Class [] annotations); 91 92 97 Object invokeNext() throws Throwable ; 98 99 103 Object invokeTarget() throws Throwable ; 104 105 112 Object invokeNext(Interceptor[] newInterceptors) throws Throwable ; 113 114 Interceptor[] getInterceptors(); 115 116 125 Object getMetaData(Object group, Object attr); 126 127 Object getTargetObject(); 128 129 void setTargetObject(Object targetObject); 130 131 140 Invocation getWrapper(Interceptor[] newchain); 141 142 148 public Invocation copy(); 149 150 public Advisor getAdvisor(); 151 } 152 | Popular Tags |