public class AgentPersistence extends Object implements TeaPersistence
| Constructor and Description |
|---|
AgentPersistence(com.tibco.tea.agent.internal.types.AgentPersistenceConfig agentPersistenceConfig,
AgentTypeId agentTypeId,
Map<String,TeaObjectProvider<TeaObject>> teaObjectProviderCache,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getObject(String agentTypeName,
String agentTypeVersion,
String objectTypeName,
String key)
Retrieves the Shared Tea Object for the given arguments
|
List<org.json.JSONObject> |
getObjects(String agentTypeName,
String agentTypeVersion,
String objectTypeName)
Retrieves all the Shared Tea Objects for the given arguments
|
void |
share(TeaObject teaObject)
Shares the given tea object
|
public AgentPersistence(com.tibco.tea.agent.internal.types.AgentPersistenceConfig agentPersistenceConfig,
AgentTypeId agentTypeId,
Map<String,TeaObjectProvider<TeaObject>> teaObjectProviderCache,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void share(TeaObject teaObject)
TeaPersistenceshare in interface TeaPersistencepublic org.json.JSONObject getObject(String agentTypeName, String agentTypeVersion, String objectTypeName, String key)
TeaPersistencegetObject in interface TeaPersistenceJSONObject or null if no shared object is foundpublic List<org.json.JSONObject> getObjects(String agentTypeName, String agentTypeVersion, String objectTypeName)
TeaPersistencegetObjects in interface TeaPersistenceCopyright © 2014 Cloud Software Group, Inc.. All Rights Reserved.