|
Anyframe Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPropertiesService
This service enables applications to approach the value of singular key Containig the pairs of key-value internally. It enhances the flexibility through managing the information for system environment. It is not needed for EJB components because they present the functions originally.
| Field Summary | |
|---|---|
static Log |
LOGGER
|
| Method Summary | |
|---|---|
boolean |
getBoolean(String name)
The purpose of this method is to get the configuration resource with the given name as a boolean value. |
boolean |
getBoolean(String name,
boolean def)
The purppose of this method is to get the configuration resource with the given name as a boolean value, or a default value. |
double |
getDouble(String name)
The purpose of this method is to get the configuration resource with the given name as a double. |
double |
getDouble(String name,
double def)
The purpose of this method is to get the configuration resource with the given name as a double, or a default value. |
float |
getFloat(String name)
The purpose of this method is to get the configuration resource with the given name as a float. |
float |
getFloat(String name,
float def)
The purpose of this method is to get the configuration resource with the given name as a float, or a default value. |
int |
getInt(String name)
The purpose of this method is to get the configuration resource with the given name as an integer. |
int |
getInt(String name,
int def)
占쌍억옙占쏙옙 占싱몌옙占쏙옙 configuration resource占쏙옙 integer 占쏙옙占싱놂옙 default integer 占쏙옙8占쏙옙 return占싹댐옙 占쌨쏙옙占�? |
Iterator |
getKeys()
Get the list of the keys contained in the configuration repository. |
Iterator |
getKeys(String prefix)
Get the list of the keys contained in the configuration repository that match the specified prefix. |
long |
getLong(String name)
The purpose of this method is to get the configuration resource with the given name as a long. |
long |
getLong(String name,
long def)
The purpose of this method is to get the configuration resource with the given name as a long, or a default value. |
String |
getString(String name)
The purpose of this method is to get the configuration resource with the given name as a string . |
String |
getString(String name,
String def)
The purpose of this method is to get the configuration resource with the given name as a string , or a default value. |
String[] |
getStringArray(String name)
The purpose of this method is to get the configuration resource with the given name as a string array . |
Vector |
getVector(String name)
The purpose of this method is to get the configuration resource with the given name as a vector . |
Vector |
getVector(String name,
Vector def)
The purpose of this method is to get the configuration resource with the given name as a vector, or a default value. |
void |
refreshPropertyFiles()
The purpose of this method is to refresh the configuration resource if some configuration resources is changed. |
| Field Detail |
|---|
static final Log LOGGER
| Method Detail |
|---|
boolean getBoolean(String name)
name - The resource name.
boolean getBoolean(String name,
boolean def)
name - The resource name.def - The default value of the resource.
double getDouble(String name)
name - The resource name.
double getDouble(String name,
double def)
name - The resource name.def - The default value of the resource.
float getFloat(String name)
name - The resource name.
float getFloat(String name,
float def)
name - The resource name.def - The default value of the resource.
int getInt(String name)
name - The resource name.
int getInt(String name,
int def)
name - The resource name.def - The default value of the resource.
Iterator getKeys()
Iterator getKeys(String prefix)
prefix - A String prefix to test against.
long getLong(String name)
name - The resource name.
long getLong(String name,
long def)
name - The resource name.def - The default value of the resource.
String getString(String name)
name - The resource name.
String getString(String name,
String def)
name - The resource name.def - The default value of the resource.
String[] getStringArray(String name)
name - The resource name.
Vector getVector(String name)
name - The resource name.
Vector getVector(String name,
Vector def)
name - The resource name.def - The default value of the resource.
void refreshPropertyFiles()
|
Anyframe Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||