com.evolveum.midpoint.provisioning.impl
Class ConnectorTypeManager
java.lang.Object
com.evolveum.midpoint.provisioning.impl.ConnectorTypeManager
@Component
public class ConnectorTypeManager
- extends Object
Class that manages the ConnectorType objects in repository.
It creates new ConnectorType objects when a new local connector is
discovered, takes care of remote connector discovery, etc.
- Author:
- Radovan Semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorTypeManager
public ConnectorTypeManager()
getConfiguredConnectorInstance
public ConnectorInstance getConfiguredConnectorInstance(ResourceType resource,
boolean forceFresh,
OperationResult result)
throws ObjectNotFoundException,
SchemaException,
CommunicationException,
ConfigurationException
- Throws:
ObjectNotFoundException
SchemaException
CommunicationException
ConfigurationException
getConnectorType
public ConnectorType getConnectorType(ResourceType resource,
OperationResult result)
throws ObjectNotFoundException,
SchemaException
- Throws:
ObjectNotFoundException
SchemaException
discoverLocalConnectors
public Set<ConnectorType> discoverLocalConnectors(OperationResult parentResult)
discoverConnectors
public Set<ConnectorType> discoverConnectors(ConnectorHostType hostType,
OperationResult parentResult)
throws CommunicationException
- Lists local connectors and makes sure that appropriate ConnectorType
objects for them exist in repository.
It will never delete any repository object, even if the corresponding
connector cannot be found. The connector may temporarily removed, may be
present on a different node, manual upgrade may be needed etc.
- Returns:
- set of discovered connectors (new connectors found)
- Throws:
CommunicationException
Copyright © 2013 evolveum. All Rights Reserved.