not me ....
--b
Type: Posts; User: bryanhunt; Keyword(s):
not me ....
--b
It's wierd the way that anytime you suggest anything in life there is
a certain number of people who say .. no it should never be done like
that ... it wont work etc ....
I have two virtually...
The thing about it Jon is that it (Java prefs API) uses the windows registry or platform specific storage on linux/Mac etc.
Getting and setting values is as simple as
prefs.put(key, value);
...
Ok I am in the exact same situation.
Here is my solution
Use the java Preferences API ....
I have written this small tool to config it from command line or as ant task.
...
But I don't have a single line of conditional logic. And I think that is the common case.
Why on earth would you want to support all those configuration permutations? I have a production...
but it does the following ....
when loaded in this fashion ...
return new ClassPathXmlApplicationContext("classpath:/ie/jestate/spring/application.xml");
however it displays strange...
sorry main should have read as so
snip=
public static void main(String[] args) {
Map mappings = new HashMap();
...
Hi there,
I'm implementing a class called
ConditionalClassPathXMLApplicationContext it extends
AbstractXmlApplicationContext but allows xml based
configuration of what contexts are loaded.
...
[/quote]
The problem with that is that if you were using the contextLoader Servlet,
contextLoaderListener or HessianServiceExporter or HttpInvokerExporter
you would need to subclass them and...
Hello all,
I am sure there is a neater or better way to implement this but it is
working for me. There is no testcase but I have tested this using the
"main" method.
This code is free for...
I am looking to be able to do the following.
Provide my application http://jestate.dev.java.net as a war file.
Provide a simple command line application ( already made )
which can be used to...
Yes but I may want to run the web application in testing mode.
ie without enabling authentication or enabling default auth so that
any username/password combination will work.
I could do it...
Perhaps
org.springframework.context.support.ClassPathXmlApplicationContext
Could be subclassed somehow to do this ?
Config would then be like so
<beans>
This would mean that you could have one set of spring configuration files
for your entire application.
Just setting the testing property would enable your testing or live
configuration.
You...
Hi there,
This is a feature that I don't think ( after reading the documentation )
spring currently supports but I think it would be a cool feature so here
it is.
I am using the spring...