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
ConstructorsConstructorDescriptionRemoteConnectorInfoManagerImpl(RemoteFrameworkConnectionInfo info, boolean loadConnectorInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set.voidDeletes an observer from the set of observers of this object.Derives another RemoteConnectorInfoManagerImpl with a different RemoteFrameworkConnectionInfo but with the same metadata.Returns theConnectorInfothat is associated with the specifiedConnectorKey.Returns the list ofConnectorInfoinstances.voidrun()
-
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:ConnectorInfoManagerReturns theConnectorInfothat is associated with the specifiedConnectorKey.- Specified by:
findConnectorInfoin interfaceConnectorInfoManager- Parameters:
key- The key of a connector.- Returns:
- The
ConnectorInfoornullif none was associated with the specified key.
-
getConnectorInfos
Description copied from interface:ConnectorInfoManagerReturns the list ofConnectorInfoinstances.- Specified by:
getConnectorInfosin interfaceConnectorInfoManager- Returns:
- the list of
ConnectorInfoinstances.
-
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:
addConnectorEventHandlerin interfaceConnectorEventPublisher- Parameters:
hook- an observer to be added.
-
deleteConnectorEventHandler
Deletes an observer from the set of observers of this object. Passingnullto this method will have no effect.- Specified by:
deleteConnectorEventHandlerin interfaceConnectorEventPublisher- Parameters:
hook- the observer to be deleted.
-
getServerInfo
- Throws:
RuntimeException
-
getConnectorKeys
- Throws:
RuntimeException
-