|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.ServiceProperties
public class ServiceProperties
| Constructor Summary | |
|---|---|
protected |
ServiceProperties()
|
| Method Summary | |
|---|---|
String |
getConfigFileLocation()
Get the configuration file location. |
int |
getEntityId()
Retrieve the entity identifier |
String |
getProperty(String propertyName)
Retrieve a certain property. |
String |
getProperty(String propertyName,
String defaultValue)
Searches for the property with the specified key in this property list. |
boolean |
hasProperty(String propertyName)
Check to see if a certain property exists. |
protected boolean |
initialize(int entityId,
String configFileLocation)
Initialize the service properties based on the specified configFileLocation and the specified entityId. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ServiceProperties()
| Method Detail |
|---|
public int getEntityId()
public String getConfigFileLocation()
public boolean hasProperty(String propertyName)
propertyName - The property to check for.public String getProperty(String propertyName)
propertyName - The property to retrieve.
public String getProperty(String propertyName,
String defaultValue)
propertyName - Checks the specified propertydefaultValue - Default value for this property.
protected boolean initialize(int entityId,
String configFileLocation)
entityId - Idenetifier for the entity.configFileLocation - Location of the configuration file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||