On Tue, Jul 16, 2002 at 05:29:05PM +0530, Saroj Kumar wrote:
> Hi All,
>
> I want to register a class as startup class in JBOSS3. This class should
> be loaded in memory when server is started.
>
> This class reads some properties and loads them in the memory. Other
> classes need to access these variables using ClassName.Method Names().
>
> Please suggest me a way.
Why not just use a singleton to load and get the variables? That's how
I tend to handle situations like that.
Cheers,
Simon
--
I thought we were not going to call people (or their ideas) dumb
anymore. I agree that is is a dumb idea, but we should be nicer.
--- Dain to marcf
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user