Rajesh Thiharie wrote:
>
> Can you please tell me a little more.
> Do I need to edit the source files or is it in
> one of the configuration files.
>
> TIA
> Rajesh
>
> burtonator wrote:
> > Use the Daemon package and set your interval with whatever you need.
> > Then use your Daemon as a singleton to access the data.
> > Just do what you need in a Daemon
>
> --
> Is wisdom knowing you?ll never know,
> Or knowing you?ve always known?
> -- Donald Marsh
You can use JetspeedResource.properties to install your new Daemon.
Then this daemon will run on the interval you specify.
>From your Portlet you can call DaemonFactory.getInstance().getDaemon(
<DAEMON_CLASSNAME> )
which will give you the Singleton instance of the instantiated CLASSNAME
that you put into JetspeedResources.properties and that has been
running. This way you can have your Daemon store information within
itself and them use the above code to fetch information about itself.
Cool huh :)
--
Kevin A Burton (e-mail: [EMAIL PROTECTED], UIN: 73488596, ZKey:
burtonator)
http://relativity.yi.org
Message to SUN: "Please Open Source Java!"
To fight and conquer in all your battles is not supreme excellence;
supreme
excellence consists in breaking the enemy's resistance without fighting.
- Sun Tzu, 300 B.C.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]