com.evolveum.midpoint.provisioning.ucf.impl
Class ConnectorFactoryIcfImpl
java.lang.Object
com.evolveum.midpoint.provisioning.ucf.impl.ConnectorFactoryIcfImpl
- All Implemented Interfaces:
- ConnectorFactory
@Component
public class ConnectorFactoryIcfImpl
- extends java.lang.Object
- implements ConnectorFactory
Currently the only implementation of the UCF Connector Manager API interface.
It is hardcoded to ICF now.
This class holds a list of all known ICF connectors in the system.
- Author:
- Radovan Semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICF_FRAMEWORK_URI
public static final java.lang.String ICF_FRAMEWORK_URI
- See Also:
- Constant Field Values
NS_ICF_CONFIGURATION
public static final java.lang.String NS_ICF_CONFIGURATION
- See Also:
- Constant Field Values
NS_ICF_SCHEMA
public static final java.lang.String NS_ICF_SCHEMA
- See Also:
- Constant Field Values
NS_ICF_SCHEMA_PREFIX
public static final java.lang.String NS_ICF_SCHEMA_PREFIX
- See Also:
- Constant Field Values
NS_ICF_RESOURCE_INSTANCE_PREFIX
public static final java.lang.String NS_ICF_RESOURCE_INSTANCE_PREFIX
- See Also:
- Constant Field Values
ICFS_NAME
public static final javax.xml.namespace.QName ICFS_NAME
ICFS_UID
public static final javax.xml.namespace.QName ICFS_UID
ICFS_ACCOUNT
public static final javax.xml.namespace.QName ICFS_ACCOUNT
ACCOUNT_OBJECT_CLASS_LOCAL_NAME
public static final java.lang.String ACCOUNT_OBJECT_CLASS_LOCAL_NAME
- See Also:
- Constant Field Values
GROUP_OBJECT_CLASS_LOCAL_NAME
public static final java.lang.String GROUP_OBJECT_CLASS_LOCAL_NAME
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONFIGURATION_PROPERTIES_ELEMENT_LOCAL_NAME
public static final java.lang.String CONNECTOR_SCHEMA_CONFIGURATION_PROPERTIES_ELEMENT_LOCAL_NAME
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONFIGURATION_PROPERTIES_TYPE_LOCAL_NAME
public static final java.lang.String CONNECTOR_SCHEMA_CONFIGURATION_PROPERTIES_TYPE_LOCAL_NAME
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONFIGURATION_TYPE_LOCAL_NAME
public static final java.lang.String CONNECTOR_SCHEMA_CONFIGURATION_TYPE_LOCAL_NAME
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_XML_ELEMENT_NAME
public static final java.lang.String CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_XML_ELEMENT_NAME
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_ELEMENT
public static final javax.xml.namespace.QName CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_ELEMENT
CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_TYPE
public static final javax.xml.namespace.QName CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_TYPE
CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MIN_EVICTABLE_IDLE_TIME_MILLIS
protected static final java.lang.String CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MIN_EVICTABLE_IDLE_TIME_MILLIS
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MIN_IDLE
public static final java.lang.String CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MIN_IDLE
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MAX_IDLE
public static final java.lang.String CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MAX_IDLE
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MAX_OBJECTS
public static final java.lang.String CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MAX_OBJECTS
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MAX_WAIT
public static final java.lang.String CONNECTOR_SCHEMA_CONNECTOR_POOL_CONFIGURATION_MAX_WAIT
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_PRODUCER_BUFFER_SIZE_XML_ELEMENT_NAME
public static final java.lang.String CONNECTOR_SCHEMA_PRODUCER_BUFFER_SIZE_XML_ELEMENT_NAME
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_PRODUCER_BUFFER_SIZE_ELEMENT
public static final javax.xml.namespace.QName CONNECTOR_SCHEMA_PRODUCER_BUFFER_SIZE_ELEMENT
CONNECTOR_SCHEMA_PRODUCER_BUFFER_SIZE_TYPE
public static final javax.xml.namespace.QName CONNECTOR_SCHEMA_PRODUCER_BUFFER_SIZE_TYPE
CONNECTOR_SCHEMA_TIMEOUTS_XML_ELEMENT_NAME
public static final java.lang.String CONNECTOR_SCHEMA_TIMEOUTS_XML_ELEMENT_NAME
- See Also:
- Constant Field Values
CONNECTOR_SCHEMA_TIMEOUTS_ELEMENT
public static final javax.xml.namespace.QName CONNECTOR_SCHEMA_TIMEOUTS_ELEMENT
CONNECTOR_SCHEMA_TIMEOUTS_TYPE
public static final javax.xml.namespace.QName CONNECTOR_SCHEMA_TIMEOUTS_TYPE
ConnectorFactoryIcfImpl
public ConnectorFactoryIcfImpl()
initialize
@PostConstruct
public void initialize()
- Initialize the ICF implementation. Look for all connector bundles, get
basic information about them and keep that in memory.
createConnectorInstance
public ConnectorInstance createConnectorInstance(ConnectorType connectorType,
java.lang.String namespace)
throws ObjectNotFoundException
- Creates new connector instance.
It will initialize the connector by taking the XML Resource definition,
transforming it to the ICF configuration and applying that to the new
connector instance.
- Specified by:
createConnectorInstance
in interface ConnectorFactory
- Returns:
- configured and initialized connector instance
- Throws:
ObjectNotFoundException
listConnectors
public java.util.Set<ConnectorType> listConnectors(ConnectorHostType host,
OperationResult parentRestul)
throws CommunicationException
- Returns a list XML representation of the ICF connectors.
- Specified by:
listConnectors
in interface ConnectorFactory
- Parameters:
host
- definition of a connector host or null for local connector list
- Returns:
- list of all known connectors.
- Throws:
CommunicationException
Copyright © 2012 evolveum. All Rights Reserved.