| |
|
| java.lang.Object org.apache.openejb.util.PropertiesService
PropertiesService | public class PropertiesService (Code) | | Manages properties so any property modifications are handled here.
It lets us track the properties used and possibly remove some. They are all
scattered in many places and it's so hard to keep track of them.
The class holds all OpenEJB properties and optionally can amend the
environment.
The aim of this class is to establish one place to keep the properties and
eventually remove the need to set System properties to communicate between
parts and possibly yet lay out a foundation for setting them up in JNDI or
some other means
TODO: Should this class be concerned with concurrency issues?
version: $Rev: 494654 $ $Date: 2007-01-09 15:45:36 -0800 $ |
PropertiesService | public PropertiesService()(Code) | | |
isPassOn | public boolean isPassOn()(Code) | | |
isQueryEnvOnInit | public boolean isQueryEnvOnInit()(Code) | | |
isSet | public boolean isSet(String name)(Code) | | ISSUE: It might be of help to differentiate between unavailable property
and boolean property set to false
Parameters: name - property name true if property keyed by name is set; false otherwise |
setPassOn | public void setPassOn(boolean passOn)(Code) | | |
setProperty | public String setProperty(String name, String value)(Code) | | Set value to a property. Optionally set System property via
System.setProperty(StringString) Parameters: name - property name Parameters: value - property value previous property value or null if the value hasn't been assignedyet |
setQueryEnvOnInit | public void setQueryEnvOnInit(boolean queryEnvOnInit)(Code) | | |
|
|
|