Class RemoteConnectorInfoManagerImpl
java.lang.Object
org.identityconnectors.framework.impl.api.remote.RemoteConnectorInfoManagerImpl
- All Implemented Interfaces:
Runnable
,ConnectorEventPublisher
,ConnectorInfoManager
public class RemoteConnectorInfoManagerImpl
extends Object
implements ConnectorInfoManager, ConnectorEventPublisher, Runnable
-
Constructor Summary
ConstructorDescriptionRemoteConnectorInfoManagerImpl
(RemoteFrameworkConnectionInfo info, boolean loadConnectorInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Deletes an observer from the set of observers of this object.Derives another RemoteConnectorInfoManagerImpl with a different RemoteFrameworkConnectionInfo but with the same metadata.Returns theConnectorInfo
that is associated with the specifiedConnectorKey
.Returns the list ofConnectorInfo
instances.void
run()
-
Constructor Details
-
RemoteConnectorInfoManagerImpl
- Throws:
RuntimeException
-
RemoteConnectorInfoManagerImpl
public RemoteConnectorInfoManagerImpl(RemoteFrameworkConnectionInfo info, boolean loadConnectorInfo)
-
-
Method Details
-
derive
Derives another RemoteConnectorInfoManagerImpl with a different RemoteFrameworkConnectionInfo but with the same metadata.- Parameters:
info
-- Returns:
-
findConnectorInfo
Description copied from interface:ConnectorInfoManager
Returns theConnectorInfo
that is associated with the specifiedConnectorKey
.- Specified by:
findConnectorInfo
in interfaceConnectorInfoManager
- Parameters:
key
- The key of a connector.- Returns:
- The
ConnectorInfo
ornull
if none was associated with the specified key.
-
getConnectorInfos
Description copied from interface:ConnectorInfoManager
Returns the list ofConnectorInfo
instances.- Specified by:
getConnectorInfos
in interfaceConnectorInfoManager
- Returns:
- the list of
ConnectorInfo
instances.
-
run
public void run() -
addConnectorEventHandler
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. The order in which notifications will be delivered to multiple observers is not specified. See the class comment.- Specified by:
addConnectorEventHandler
in interfaceConnectorEventPublisher
- Parameters:
hook
- an observer to be added.
-
deleteConnectorEventHandler
Deletes an observer from the set of observers of this object. Passingnull
to this method will have no effect.- Specified by:
deleteConnectorEventHandler
in interfaceConnectorEventPublisher
- Parameters:
hook
- the observer to be deleted.
-
getServerInfo
- Throws:
RuntimeException
-
getConnectorKeys
- Throws:
RuntimeException
-