org.apache.myfaces.orchestra.frameworkAdapter.basic
Class BasicFrameworkAdapterFilter

java.lang.Object
  extended by org.apache.myfaces.orchestra.frameworkAdapter.basic.BasicFrameworkAdapterFilter

public class BasicFrameworkAdapterFilter
extends java.lang.Object

Configures the BasicFrameworkAdapter.

Orchestra accesses information about the request, response, session, etc via a FrameworkAdapter so that it can be used with multiple web tier frameworks. This class selects and configures the simplest version of this adapter, which only depends on the basic Servlet APIs.

If filter config parameter "conversationMessagerClass" is set, then this is passed to the BasicFrameworkAdapter, meaning that this can be either a beanname defined in the dependency-injection framework, or an absolute classname of a type implementing ConversationMessager.


Constructor Summary
BasicFrameworkAdapterFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest req, ServletResponse rsp, FilterChain filterChain)
           
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFrameworkAdapterFilter

public BasicFrameworkAdapterFilter()
Method Detail

init

public void init(FilterConfig filterConfig)
          throws ServletException
Throws:
ServletException

doFilter

public void doFilter(ServletRequest req,
                     ServletResponse rsp,
                     FilterChain filterChain)
              throws java.io.IOException,
                     ServletException
Throws:
java.io.IOException
ServletException

destroy

public void destroy()


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.