org.outerj.daisy.frontend
Class MountPointAction

java.lang.Object
  extended by org.outerj.daisy.frontend.MountPointAction

public class MountPointAction
extends java.lang.Object

An action that tries to find out under which context the Cocoon servlet and current sitemap is mounted, and puts the result in a request attribute named "mountPoint". This assumes that the sitemap path is a substring of the external request URI, which is usually the case.


Constructor Summary
MountPointAction()
           
 
Method Summary
 java.util.Map act(Redirector redirector, SourceResolver sourceResolver, java.util.Map objectModel, java.lang.String source, Parameters parameters)
           
 void enableLogging(Logger logger)
           
protected  Logger getLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MountPointAction

public MountPointAction()
Method Detail

act

public java.util.Map act(Redirector redirector,
                         SourceResolver sourceResolver,
                         java.util.Map objectModel,
                         java.lang.String source,
                         Parameters parameters)
                  throws java.lang.Exception
Throws:
java.lang.Exception

enableLogging

public void enableLogging(Logger logger)

getLogger

protected Logger getLogger()


Copyright © -2006 . All Rights Reserved.