ilog.views.faces.servlet
Class IlvJSNamespaceFilter

java.lang.Object
  extended by ilog.views.faces.servlet.IlvJSNamespaceFilter
All Implemented Interfaces:
IlvDHTMLConstants, IlvFacesConstants, javax.servlet.Filter

Deprecated. Beginning of JViews 8.1 this filter must not be set on the controller servlet.

public class IlvJSNamespaceFilter
extends Object
implements javax.servlet.Filter, IlvFacesConstants, IlvDHTMLConstants

This class is a servlet filter that must be used in a portlet environment. To enable this filter, you must declare this filter in the web deployment configuration file (web.xml). An example of such declaration is:

 <context-param>
   <param-name>ilog.views.faces.CONTROLLER_PATH</param-name>
   <param-value>/_contr</param-value>
 </context-param>

 <filter>
   <filter-name>jsFilter</filter-name>
   <filter-class>ilog.views.faces.servlet.IlvJSNamespaceFilter</filter-class>
 </filter>
 
 <filter-mapping>
   <filter-name>jsFilter</filter-name>
   <url-pattern>/_contr/*</url-pattern>
 </filter-mapping>

Since:
JViews 8.0

Field Summary
 
Fields inherited from interface ilog.views.faces.dhtml.IlvDHTMLConstants
AUTO_SUBMIT, BACKGROUND_COLOR, CAPABILITIES_LOADED_HANDLER, COMPONENT, DO_ACTION_ON_BG_DESELECT, ERROR_MESSAGE, GENERATE_IMAGE_MAP, IMAGE_FORMAT, IMAGE_LOADED_HANDLER, IMAGE_MAP_GENERATOR, IMAGE_MAP_GENERATOR_CLASS, IMAGE_MAP_VISIBLE, IMAGE_SERVLET_CONTEXT, INVOCATION_CONTEXT, JSF_CONTEXT, ON_CLICK, ON_SELECTION_CHANGED, PORTLET_CONTEXT_KEY, PORTLET_SESSION_KEY, REPLACE_PATTERN, RESIZABLE, SESSION_EXP_HANDLER, SUBMITTED_VALUE, WAITING_IMAGE
 
Constructor Summary
IlvJSNamespaceFilter()
          Deprecated. Creates a new IlvJSNamespaceFilter instance.
 
Method Summary
 void destroy()
          Deprecated. Called by the web container to indicate to a filter that it is being taken out of service.
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
          Deprecated. Executes this filter.
 void init(javax.servlet.FilterConfig config)
          Deprecated. Called by the web container to indicate to a filter that it is being placed into service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvJSNamespaceFilter

public IlvJSNamespaceFilter()
Deprecated. 
Creates a new IlvJSNamespaceFilter instance.

Method Detail

destroy

public void destroy()
Deprecated. 
Called by the web container to indicate to a filter that it is being taken out of service. This method is only called once all threads within the filter's doFilter method have exited or after a timeout period has passed. After the web container calls this method, it will not call the doFilter method again on this instance of the filter.
This method gives the filter an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the filter's current state in memory.
This implementation does nothing as no resource is kept in this filter.

Specified by:
destroy in interface javax.servlet.Filter

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws javax.servlet.ServletException,
                     IOException
Deprecated. 
Executes this filter.

Specified by:
doFilter in interface javax.servlet.Filter
Parameters:
request - The request.
response - The response.
chain - The servlet filter chain.
Throws:
javax.servlet.ServletException
IOException

init

public void init(javax.servlet.FilterConfig config)
          throws javax.servlet.ServletException
Deprecated. 
Called by the web container to indicate to a filter that it is being placed into service.

Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.