XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta-1
    • Fix Version/s: 3.0-beta-1
    • Component/s: ejb3 simplified
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: