InvocationContext
-----------------
Key: OPENEJB-80
URL: http://jira.codehaus.org/browse/OPENEJB-80
Project: OpenEJB
Type: New Feature
Components: ejb3 simplified
Versions: 3.0
Reporter: David Blevins
Fix For: 3.0
Implement an InvocationContext for interceptor chain. The rule with all
standard interface implementations is to not expose any additional methods;
this may require a wrapper implementation that delegates to a fully functional
implementation.
package javax.ejb;
public interface InvocationContext {
public Object getBean();
public Method getMethod();
public Object[] getParameters();
public void setParameters(Object[] parameters);
public java.util.Map getContextData();
public Object proceed() throws Exception;
}
note: getMethod returns null for lifecycle callbacks
note: proceed returns null for void methods
note: context data lives only for one chain invocation
question: how many times can proceed be called by an interceptor?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira