org.apache.cocoon.transformation.helpers
Class PreemptiveLoaderAction

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.acting.AbstractAction
          extended byorg.apache.cocoon.acting.ServiceableAction
              extended byorg.apache.cocoon.transformation.helpers.PreemptiveLoaderAction
All Implemented Interfaces:
org.apache.cocoon.acting.Action, Serviceable, ThreadSafe

public class PreemptiveLoaderAction
extends org.apache.cocoon.acting.ServiceableAction
implements ThreadSafe

This action starts the preemptive loader and runs forever.

Since:
2.1
Version:
$Id: PreemptiveLoaderAction.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
 
Fields inherited from interface org.apache.cocoon.acting.Action
ROLE
 
Constructor Summary
PreemptiveLoaderAction()
           
 
Method Summary
 Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, Map objectModel, String source, Parameters parameters)
          This action starts the preemptive loading It runs forever and is stopped by the DefaultIncludeCacheManager.
 
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service
 
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreemptiveLoaderAction

public PreemptiveLoaderAction()
Method Detail

act

public Map act(org.apache.cocoon.environment.Redirector redirector,
               org.apache.cocoon.environment.SourceResolver resolver,
               Map objectModel,
               String source,
               Parameters parameters)
        throws Exception
This action starts the preemptive loading It runs forever and is stopped by the DefaultIncludeCacheManager.

Specified by:
act in interface org.apache.cocoon.acting.Action
Throws:
Exception
See Also:
Action.act(Redirector, SourceResolver, Map, String, Parameters)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.