Class ProxyManager
java.lang.Object
org.cristalise.kernel.entity.proxy.ProxyManager
- Direct Known Subclasses:
Gateway
An simple utility class to create new Proxies
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentProxygetAgentProxy(String agentName) static AgentProxygetAgentProxy(String agentName, TransactionKey transactionKey) static AgentProxygetAgentProxy(AgentPath path) static AgentProxygetAgentProxy(AgentPath path, TransactionKey transactionKey) static ItemProxystatic ItemProxygetProxy(Path path, TransactionKey transactionKey)
-
Constructor Details
-
ProxyManager
public ProxyManager()
-
-
Method Details
-
getProxy
- Throws:
ObjectNotFoundException
-
getProxy
public static ItemProxy getProxy(Path path, TransactionKey transactionKey) throws ObjectNotFoundException - Throws:
ObjectNotFoundException
-
getAgentProxy
- Throws:
ObjectNotFoundException
-
getAgentProxy
public static AgentProxy getAgentProxy(String agentName, TransactionKey transactionKey) throws ObjectNotFoundException - Throws:
ObjectNotFoundException
-
getAgentProxy
- Throws:
ObjectNotFoundException
-
getAgentProxy
public static AgentProxy getAgentProxy(AgentPath path, TransactionKey transactionKey) throws ObjectNotFoundException - Throws:
ObjectNotFoundException
-