|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tolven.core.bean.TolvenProperties
public class TolvenProperties
Manage all properties used by Tolven. TODO: This should be an MBEAN, not a stateless session bean.
| Constructor Summary | |
|---|---|
TolvenProperties()
|
|
| Method Summary | |
|---|---|
void |
clearProperties(java.util.List<Property> properties)
Clear the supplied properties from the database as well as from the running properties of the system. |
java.util.List<Property> |
findProperties()
Return the tolven persistent properties (from the database, not the running system |
java.lang.String |
getLog4Threshold()
Retrieves Current Tolven Threshold. |
java.lang.String |
getProperty(java.lang.String name)
Same as doing a System.getProperty but wrapped by our environment. |
void |
setAllProperties()
Set all of the properties from the database into the running properties of the system. |
void |
updateLog4Threshold(java.lang.String threhold)
Update threshold level of the Tolven Logging. |
void |
updateProperties(java.util.List<Property> properties)
Update (persist or merge) the supplied properties into the database as well as the running properties of the system. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TolvenProperties()
| Method Detail |
|---|
public java.lang.String getProperty(java.lang.String name)
TolvenPropertiesLocal
getProperty in interface TolvenPropertiesLocalname - Name of the property
public java.util.List<Property> findProperties()
findProperties in interface TolvenPropertiesLocalfindProperties in interface TolvenPropertiesRemotepublic void clearProperties(java.util.List<Property> properties)
clearProperties in interface TolvenPropertiesLocalclearProperties in interface TolvenPropertiesRemotepublic void updateProperties(java.util.List<Property> properties)
updateProperties in interface TolvenPropertiesLocalupdateProperties in interface TolvenPropertiesRemotepublic void updateLog4Threshold(java.lang.String threhold)
updateLog4Threshold in interface TolvenPropertiesLocalupdateLog4Threshold in interface TolvenPropertiesRemotepublic java.lang.String getLog4Threshold()
getLog4Threshold in interface TolvenPropertiesLocalgetLog4Threshold in interface TolvenPropertiesRemotepublic void setAllProperties()
setAllProperties in interface TolvenPropertiesLocalsetAllProperties in interface TolvenPropertiesRemote
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||