commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <heg...@med.uni-marburg.de>
Subject Re: Configuration
Date Wed, 18 Jan 2006 08:09:58 GMT
Kfir Shay wrote:
> CompositeConfiguration cc = (CompositeConfiguration)
> factory.getConfiguration();
> 
> will generate a class casting exception - try it
> 

Which class do you get back from the factory?

System.out.println(factory.getConfiguration().getClass().getName());

Oliver

---------------------------------------------------------------------
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