3 Replies Latest reply on Mar 14, 2007 10:28 PM by shane.bryzak

    Ordering seam filters

    youngm

      Is it possible to order the chain of seam web filters?

        • 1. Re: Ordering seam filters

          Not right now. It could probably be added in the same way we order the interceptor chains. What exactly is the ordering need you have?

          • 2. Re: Ordering seam filters
            youngm

            I'm looking to add a filter that would make the current seam managed persistence context available in spring's standard ThreadLocal variable and clear it when done. However, this filter would need to be executed before ExceptionFilter so the persistence context created would be available to spring while executing the code to handle an exception.

            This is just one of the approaches I was think of taking for this issue.

            Thoughts?

            Mike

            • 3. Re: Ordering seam filters
              shane.bryzak

              Create a jira issue for this. As Norman said, we could probably implement it in a way similar to how interceptors work.