Hi,
I'm completely stumped - how does the defaults work in
java.util.Properties class?
If you're curious what I'm after, take a look at IvmTestServer class,
esp. its init method. There's the following snippet:
props.put("java.naming.factory.initial",
"org.apache.openejb.client.LocalInitialContextFactory");
Properties p = new Properties(props);
p.put("openejb.loader", "embed");
new InitialContext( p );
The aim of it is to initialize openejb embedded, but it won't happen
as the props are not consulted by InitialContext constructor (!) When
I changed new InitialContext(p) with new InitialContext(props) it
worked as expected. Why is that? I can't find the answer :(
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email