org.picocontainer.web.chain.divertor
Class SimpleDivertor

java.lang.Object
  extended by org.picocontainer.web.chain.divertor.SimpleDivertor
All Implemented Interfaces:
Divertor

public class SimpleDivertor
extends Object
implements Divertor

simple divertor diverting to hardvired UIRL

Author:
k.pribluda

Constructor Summary
SimpleDivertor(String path)
           
 
Method Summary
 String divert(Throwable cause)
          find path to divert to, or null can not be found
 String getPath()
           
 void setPath(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDivertor

public SimpleDivertor(String path)
Method Detail

divert

public String divert(Throwable cause)
Description copied from interface: Divertor
find path to divert to, or null can not be found

Specified by:
divert in interface Divertor
Parameters:
cause - cause of diversion
Returns:
servlet path or null

getPath

public String getPath()

setPath

public void setPath(String path)


Copyright © 2008. All Rights Reserved.