commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <skitch...@apache.org>
Subject Re: [Digester] Initializing statics
Date Thu, 19 May 2005 23:35:24 GMT
On Thu, 2005-05-19 at 14:22 -0400, Grant Ingersoll wrote:
> Hi,
> 
> I have a class that has a static initializer the loads a rather large
> file (this is in a library class) and I would like to initialize it with
> the file via Digester.  Right now, I create a dummy object of that class
> and then apply a CallMethodRule invoking the init method with the
> attribute containing the file name.  While this works, seems like a
> waste to construct the dummy object.  Is there a preferred way to pass
> configurable arguments to a static method on a class?
> 

Sorry, Grant, but I don't understand. Perhaps you could provide some
code demonstrating what you're trying to achieve?

Regards,

Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message