David Blevins wrote:
> 
> We have something which will do all the above except for preventing  
> the persistence.xml datasource adapting.  See the ConfigurationFactory  
> 'offline' boolean.  It does stop the part of the persistence.xml  
> adjusting where datasources are created, but doesn't stop the  
> adjusting where they were one or both were left blank and various  
> things like that.  We can certainly add it.
> 
> We don't have a flag to set it, mostly used by Geronimo right now.  We  
> can easily add one in the no-arg constructor of the  
> ConfigurationFactory so it doesn't always default to offline false.
> 
> 
Yep, I think it's a very nice feature.


David Blevins wrote:
> 
> Not sure "production" is a good name as I think it's ultimately too  
> subjective to be so prescriptive.  Better just to name the flags after  
> what they do in the most literal sense and let people decide which  
> they want enabled.
> 
> Maybe something like openejb.configuration.strict ?
> 
You're right David.
openejb.configuration.strict sounds good for me!



-- 
View this message in context: 
http://www.nabble.com/TR%3A--jira--Created%3A-%28OPENEJB-1010%29-Production-mode-tp22579655p22595074.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to