You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2008/11/24 08:44:12 UTC

[Trinidad] TrinidadFilterImpl.init() and design time

Hi,

due to some side effects with the installed Trinidad filters, I was
thinking about the following change in TrinidadFilterImpl.init():

...
    if(!java.beans.Beans.isDesignTime())
    {
      //There is some functionality that still might require
servlet-only filter services.
      _filters =
ClassLoaderUtils.getServices(TrinidadFilterImpl.class.getName());
      for(Filter f:_filters)
      {
        f.init(filterConfig);
      }
    }
...

Any objections ?

-Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf