org.apache.jetspeed.aggregator
Interface RenderingJob

All Superinterfaces:
Runnable

public interface RenderingJob
extends Runnable

Worker thread processes jobs and notify its WorkerMonitor when completed. When no work is available, the worker simply sets itself in a waiting mode pending reactivation by the WorkerMonitor

Version:
$Id: $
Author:
David Sean Taylor

Method Summary
 void execute()
           
 ContentDispatcherCtrl getDispatcher()
           
 int getExpirationCache()
           
 ContentFragment getFragment()
           
 PortletContent getPortletContent()
           
 org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition()
           
 javax.servlet.http.HttpServletRequest getRequest()
           
 RequestContext getRequestContext()
           
 javax.servlet.http.HttpServletResponse getResponse()
           
 long getTimeout()
           
 org.apache.pluto.om.window.PortletWindow getWindow()
           
 Object getWorkerAttribute(String name)
           
 boolean isContentCached()
           
 boolean isTimeout()
           
 void removeWorkerAttribute(String name)
           
 void setTimeout(long portletTimeout)
           
 void setWorkerAttribute(String name, Object value)
           
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

execute

void execute()

getWindow

org.apache.pluto.om.window.PortletWindow getWindow()

getPortletContent

PortletContent getPortletContent()

setTimeout

void setTimeout(long portletTimeout)

getTimeout

long getTimeout()

isTimeout

boolean isTimeout()

getPortletDefinition

org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition()

getRequest

javax.servlet.http.HttpServletRequest getRequest()

getResponse

javax.servlet.http.HttpServletResponse getResponse()

getFragment

ContentFragment getFragment()

getRequestContext

RequestContext getRequestContext()

getExpirationCache

int getExpirationCache()

getDispatcher

ContentDispatcherCtrl getDispatcher()

isContentCached

boolean isContentCached()

setWorkerAttribute

void setWorkerAttribute(String name,
                        Object value)

getWorkerAttribute

Object getWorkerAttribute(String name)

removeWorkerAttribute

void removeWorkerAttribute(String name)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.