Issue Details (XML | Word | Printable)

Key: OPENEJB-543
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dain Sundstrom
Reporter: David Blevins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB
OPENEJB-79

InvocationContext

Created: 15/Mar/07 08:57 PM   Updated: 15/Mar/07 09:12 PM
Return to search
Component/s: ejb3 simplified
Affects Version/s: 3.0-beta-1
Fix Version/s: 3.0-beta-1

Time Tracking:
Not Specified

Resolution Date: 15/Mar/07 09:12 PM


 Description  « Hide
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?

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.