public interface TeaPersistence
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
getObject(String agentTypeName,
String objectTypeName,
String key)
Retrieves the Shared Tea Object for the given arguments
|
Map<String,org.json.JSONObject> |
getObjectClosure(String agentTypeName,
String objectTypeName,
String key)
Retrieves the Shared Tea Object for the given arguments and all its references
|
Map<String,org.json.JSONObject> |
getObjects(String agentTypeName,
String objectTypeName)
Retrieves all the Shared Tea Objects for the given arguments
|
void |
share(SingletonTeaObject teaObject)
Shares the given singleton tea object
|
void |
share(TeaObject teaObject)
Shares the given tea object
|
void |
unshare(SingletonTeaObject teaObject)
Unshares the given singleton tea object
|
void |
unshare(TeaObject teaObject)
Unshares the given tea object
|
void share(TeaObject teaObject)
teaObject
- void share(SingletonTeaObject teaObject)
teaObject
- void unshare(TeaObject teaObject)
teaObject
- void unshare(SingletonTeaObject teaObject)
teaObject
- org.json.JSONObject getObject(String agentTypeName, String objectTypeName, String key)
agentTypeName
- objectTypeName
- key
- JSONObject
or null if no shared object is foundMap<String,org.json.JSONObject> getObjectClosure(String agentTypeName, String objectTypeName, String key)
agentTypeName
- objectTypeName
- key
- JSONObject
or null if no shared object is foundCopyright © 2015 TIBCO Software Inc.. All Rights Reserved.