public final class InProcessExternalSystemCommunicationManager extends java.lang.Object implements ExternalSystemCommunicationManager
| Constructor and Description |
|---|
InProcessExternalSystemCommunicationManager() |
| Modifier and Type | Method and Description |
|---|---|
RemoteExternalSystemFacade |
acquire(java.lang.String id,
ProjectSystemId externalSystemId)
Creates new external system facade for the given arguments.
|
void |
clear()
Disposes all resources acquired by the current manager.
|
boolean |
isAlive(RemoteExternalSystemFacade facade) |
void |
release(java.lang.String id,
ProjectSystemId externalSystemId)
Release resource acquired by the current manager
|
public InProcessExternalSystemCommunicationManager()
public RemoteExternalSystemFacade acquire(java.lang.String id, ProjectSystemId externalSystemId) throws java.lang.Exception
ExternalSystemCommunicationManageracquire in interface ExternalSystemCommunicationManagerid - if for which new facade is to be createdexternalSystemId - target external system idjava.lang.Exception - in case something goes wrongpublic void release(java.lang.String id,
ProjectSystemId externalSystemId)
ExternalSystemCommunicationManagerrelease in interface ExternalSystemCommunicationManagerid - resource idexternalSystemId - target external system idpublic boolean isAlive(RemoteExternalSystemFacade facade)
isAlive in interface ExternalSystemCommunicationManagerpublic void clear()
ExternalSystemCommunicationManagerclear in interface ExternalSystemCommunicationManager