no.sesat.search.http.urlrewrite
Class UrlRewriterContainerFactory

java.lang.Object
  extended by no.sesat.search.http.urlrewrite.UrlRewriterContainerFactory
All Implemented Interfaces:
SiteKeyedFactory

public final class UrlRewriterContainerFactory
extends Object
implements SiteKeyedFactory

Provides a SiteKeyedFactory around urlrewrite.xml configurations instead of tuckey's default of only loading WEB-INF/urlrewrite.xml

Version:
$Id: UrlRewriterContainerFactory.java 7225 2009-04-09 00:32:20Z ssmiweve $

Nested Class Summary
static interface UrlRewriterContainerFactory.Context
          The context any SearchTabFactory must work against.
 
Field Summary
static String URLREWRITE_XMLFILE
          The name of the skin's configuration file.
 
Method Summary
 org.tuckey.web.filters.urlrewrite.UrlRewriter getUrlRewriter()
           
static UrlRewriterContainerFactory instanceOf(UrlRewriterContainerFactory.Context cxt)
          Return the factory in use for the skin defined within the context.
 boolean remove(Site site)
          Remove the factory in use for the skin defined within the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URLREWRITE_XMLFILE

public static final String URLREWRITE_XMLFILE
The name of the skin's configuration file.

See Also:
Constant Field Values
Method Detail

instanceOf

public static UrlRewriterContainerFactory instanceOf(UrlRewriterContainerFactory.Context cxt)
Return the factory in use for the skin defined within the context. *

Parameters:
cxt -
Returns:

remove

public boolean remove(Site site)
Remove the factory in use for the skin defined within the context.

Specified by:
remove in interface SiteKeyedFactory
Parameters:
site - remove factory corresponding to this site.
Returns:
true if a factory was successfully removed.

getUrlRewriter

public org.tuckey.web.filters.urlrewrite.UrlRewriter getUrlRewriter()
Returns:


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.