public class RemoteConnectorInfoManagerImpl extends Object implements ConnectorInfoManager, ConnectorEventPublisher, Runnable
| Constructor and Description |
|---|
RemoteConnectorInfoManagerImpl(RemoteFrameworkConnectionInfo info) |
RemoteConnectorInfoManagerImpl(RemoteFrameworkConnectionInfo info,
boolean loadConnectorInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectorEventHandler(ConnectorEventHandler hook)
Adds an observer to the set of observers for this object, provided that
it is not the same as some observer already in the set.
|
void |
deleteConnectorEventHandler(ConnectorEventHandler hook)
Deletes an observer from the set of observers of this object.
|
RemoteConnectorInfoManagerImpl |
derive(RemoteFrameworkConnectionInfo info)
Derives another RemoteConnectorInfoManagerImpl with a different
RemoteFrameworkConnectionInfo but with the same metadata.
|
ConnectorInfo |
findConnectorInfo(ConnectorKey key)
Returns the
ConnectorInfo that is associated with the
specified ConnectorKey. |
List<ConnectorInfo> |
getConnectorInfos()
Returns the list of
ConnectorInfo instances. |
List<ConnectorKey> |
getConnectorKeys() |
Map<String,Object> |
getServerInfo() |
void |
run() |
public RemoteConnectorInfoManagerImpl(RemoteFrameworkConnectionInfo info) throws RuntimeException
RuntimeExceptionpublic RemoteConnectorInfoManagerImpl(RemoteFrameworkConnectionInfo info, boolean loadConnectorInfo)
public RemoteConnectorInfoManagerImpl derive(RemoteFrameworkConnectionInfo info)
info - public ConnectorInfo findConnectorInfo(ConnectorKey key)
ConnectorInfoManagerConnectorInfo that is associated with the
specified ConnectorKey.findConnectorInfo in interface ConnectorInfoManagerkey - The key of a connector.ConnectorInfo or null if none was
associated with the specified key.public List<ConnectorInfo> getConnectorInfos()
ConnectorInfoManagerConnectorInfo instances.getConnectorInfos in interface ConnectorInfoManagerConnectorInfo instances.public void addConnectorEventHandler(ConnectorEventHandler hook)
addConnectorEventHandler in interface ConnectorEventPublisherhook - an observer to be added.public void deleteConnectorEventHandler(ConnectorEventHandler hook)
null to this method will have no effect.deleteConnectorEventHandler in interface ConnectorEventPublisherhook - the observer to be deleted.public Map<String,Object> getServerInfo() throws RuntimeException
RuntimeExceptionpublic List<ConnectorKey> getConnectorKeys() throws RuntimeException
RuntimeExceptionCopyright © 2022. All rights reserved.