|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.daemon.impl.util.feeddaemon.Instantiator
Given an PortletEntry use the PortletFactory to instantiate this Portlet and then place it in the cache.
If the URL isn't
Field Summary | |
static int |
LOG_INTERVAL
Specify the interval to log when Portlets are instantiated |
static int |
MAX_WARN_SECONDS
The maximum number of seconds to wait before warning that the URL took too long to download |
Constructor Summary | |
Instantiator(int id,
PortletEntry entry)
|
|
Instantiator(PortletEntry entry)
Create a Instantiator with info on what to instantiate |
Method Summary | |
void |
getURL(java.lang.String url)
Get the url from the net and put it on disk |
void |
run()
Do work necessary to instantiate the current Entry but only do this if it is NOT already in the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX_WARN_SECONDS
public static final int LOG_INTERVAL
Constructor Detail |
public Instantiator(PortletEntry entry)
public Instantiator(int id, PortletEntry entry)
Instantiator( PortletEntry )
Method Detail |
public void getURL(java.lang.String url) throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |