|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.store.PropertyStore
public class PropertyStore
Field Summary | |
---|---|
static String |
TABLE_PREFIX
|
Constructor Summary | |
---|---|
PropertyStore(String identifier)
Initializes this object with a connection to the property store table named name. |
Method Summary | |
---|---|
void |
closeStore()
Closes all resources open by this object. |
Object |
getProperty(String key)
Returns a value in the property store. |
List |
keys()
Returns an Enumeration of the keys in the store. |
Object |
removeProperty(String key)
Removes a value in the property store. |
Object |
setProperty(String key,
Object obj)
Adds or updates a value in the property store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TABLE_PREFIX
Constructor Detail |
---|
public PropertyStore(String identifier) throws Exception
identifier
- The table name
Exception
Method Detail |
---|
public void closeStore() throws Exception
Exception
public Object setProperty(String key, Object obj) throws Exception
key
- The unique identifierobj
- The value
Exception
public Object getProperty(String key) throws Exception
key
- The unique identifier
Exception
public Object removeProperty(String key) throws Exception
key
- The unique identifier to remove.
Exception
public List keys() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |