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
ExternalSystemCommunicationManager
acquire
in interface ExternalSystemCommunicationManager
id
- 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)
ExternalSystemCommunicationManager
release
in interface ExternalSystemCommunicationManager
id
- resource idexternalSystemId
- target external system idpublic boolean isAlive(RemoteExternalSystemFacade facade)
isAlive
in interface ExternalSystemCommunicationManager
public void clear()
ExternalSystemCommunicationManager
clear
in interface ExternalSystemCommunicationManager