org.apache.cocoon.webapps.portal.components
Class CopletThread

java.lang.Object
  extended by org.apache.cocoon.webapps.portal.components.CopletThread
All Implemented Interfaces:
Runnable

public final class CopletThread
extends Object
implements Runnable

This is the thread for loading one coplet in the background.

Version:
CVS $Id: CopletThread.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Constructor Summary
CopletThread()
           
 
Method Summary
 void init(String copletID, Map objectModel, Logger logger, Object[] loadedCoplet, ComponentManager manager, SourceResolver resolver, XPathProcessor processor)
          Initialise all instance variables.
 void run()
          Process one coplet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopletThread

public CopletThread()
Method Detail

init

public void init(String copletID,
                 Map objectModel,
                 Logger logger,
                 Object[] loadedCoplet,
                 ComponentManager manager,
                 SourceResolver resolver,
                 XPathProcessor processor)
Initialise all instance variables. The main information is the loadedCoplet array: 0 : contains the result of the coplet loading, nullor the compiled sax events 1 : The coplet configuration element from the coplet profile 2 : The resource parameters 3 : The coplet element 4 : Current time 5 : The timeout 6 : The thread (this) 7 : The status profile


run

public void run()
Process one coplet

Specified by:
run in interface Runnable


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.