cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Hermann <christoph.herm...@guschtel.de>
Subject Instantiating a class on Cocoon startup
Date Mon, 01 Aug 2005 12:09:45 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

is there a way in Cocoon to load a class on cocoon startup?
What i want to accomplish is like read some sort of configuration file
and then hold these values in memory while cocoon is running.
So i thought of building a xml file which is loaded through xmlbeans
into a static var or so. Thath way i wouldn't have to load the
configuration File on each request.
Can anyone give me some hints on how to accomplish this?

With kind regards
Christoph Hermann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQu4RCbHbLRxXJIjpAQIrDA/9E6yMZs+ZzqLIAaw5nDiyxKikUqnIcgXg
0Vq9+hMIso5ytV59YzDxhe/jABTvj4WpxhjLQFv37Oz4pEmZhan57NOTgVvTday3
L11fRLJ4q7HL1akk7T0ClDgp+HS6M8sR5ouZJjpPqPPW4trEaYlsb+38s7eR8MXi
de59hptVGdVfIpmS7mstz+IvZxbT/Yar6t1kimPcYJvQ5uhO9aA3FOdb9CUzA8bv
kpDa53hZFnJaURgmFHCGjd0yU1BzaCVUtOkkxiPwWNzSAbwr8wXsPNvf82SLwxmH
eEy0uaH2d1RDZVHwvnAuHD9/IiBhvGossxs1DD8V+nHSUDMXnI6JwMjEt5NMVKro
h6H48RIAOEoP4UGi/8WwSmZC6x2029f04Utxyn98ow+5wulr3cn+TfDKu2Ffbvjr
DnYpUJFPX36dsH3CpePlN7DVYE32SzlypR7Y5oXOANJkkvpkNu4zvfgz8qcc4Vrr
6NpeuCaBy1NbtzyS/y2Nvn2BAEq5tdK+Qk2miJu3wbaDNLvNudqDaERkRbhOBW08
JvJMaycyTI/AK8dsECy4rCSHvvAfczHRmOt9tiQ4Hqhg7D/wD7eMJbu7D7xDEDn5
8JEjF/nRUislJKeK4NrOO4KNECx5LEaNGdxJnTYpX/Vuv35rD3RcmQxsbp5Rmuyq
zE5Q40eBXsI=
=Fxd6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message