public final class RemoteExternalSystemCommunicationManager extends java.lang.Object implements ExternalSystemCommunicationManager, Disposable
Disposable.Parent| Constructor and Description |
|---|
RemoteExternalSystemCommunicationManager() |
| 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.
|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
boolean |
isAlive(RemoteExternalSystemFacade facade) |
void |
release(java.lang.String id,
ProjectSystemId externalSystemId)
Release resource acquired by the current manager
|
void |
shutdown(boolean wait) |
public RemoteExternalSystemCommunicationManager()
public void shutdown(boolean wait)
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 ExternalSystemCommunicationManagerpublic void dispose()
Disposabledispose in interface Disposable