XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta-1
    • 3.0-beta-1
    • ejb3 simplified
    • None

    Description

      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?

      Attachments

        Activity

          People

            dain Dain Sundstrom
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: