Class ConnectorInfoManagerFactoryImpl
java.lang.Object
org.identityconnectors.framework.api.ConnectorInfoManagerFactory
org.identityconnectors.framework.impl.api.ConnectorInfoManagerFactoryImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClears the local bundle manager cache.voidClears the remote cache.getLocalManager(URL... urls) Creates theConnectorInfoManagerfrom a list of bundle URLs.getLocalManager(List<URL> urls, ClassLoader bundleParentClassLoader) Creates theConnectorInfoManagerfor a remote framework.Creates theConnectorInfoManagerfor a remote framework but the connection is not checked and not initialised.Methods inherited from class org.identityconnectors.framework.api.ConnectorInfoManagerFactory
getInstance
-
Constructor Details
-
ConnectorInfoManagerFactoryImpl
public ConnectorInfoManagerFactoryImpl()
-
-
Method Details
-
clearLocalCache
public void clearLocalCache()Description copied from class:ConnectorInfoManagerFactoryClears the local bundle manager cache. NOTE: Avoid using this method outside of unit testing.- Specified by:
clearLocalCachein classConnectorInfoManagerFactory
-
clearRemoteCache
public void clearRemoteCache()Description copied from class:ConnectorInfoManagerFactoryClears the remote cache. There should be an admin page function which exposes this method for the case where you drop in a new connector in the connector server and reset it.- Specified by:
clearRemoteCachein classConnectorInfoManagerFactory
-
getLocalManager
Description copied from class:ConnectorInfoManagerFactoryCreates theConnectorInfoManagerfrom a list of bundle URLs.NOTE: The results from this call are automatically cached and keyed by the list of URLs passed in. To clear the cache, call
ConnectorInfoManagerFactory.clearLocalCache().- Specified by:
getLocalManagerin classConnectorInfoManagerFactory- Parameters:
urls- The list of bundle URLs. This list may consist of directories consisting of un-jarred bundles and/or bundle jars.- Returns:
- The manager
- Throws:
ConfigurationException- If there was any problem with any of the bundles.
-
getLocalManager
public ConnectorInfoManager getLocalManager(List<URL> urls, ClassLoader bundleParentClassLoader) throws ConfigurationException - Throws:
ConfigurationException
-
getRemoteManager
public ConnectorInfoManager getRemoteManager(RemoteFrameworkConnectionInfo info) throws ConfigurationException Description copied from class:ConnectorInfoManagerFactoryCreates theConnectorInfoManagerfor a remote framework.NOTE: The results from this call are automatically cached and keyed by the RemoteFrameworkConnectionInfo passed in. To clear the cache, call
ConnectorInfoManagerFactory.clearRemoteCache().- Specified by:
getRemoteManagerin classConnectorInfoManagerFactory- Parameters:
info- The connection information.- Returns:
- The manager
- Throws:
ConfigurationException
-
getUnCheckedRemoteManager
Description copied from class:ConnectorInfoManagerFactoryCreates theConnectorInfoManagerfor a remote framework but the connection is not checked and not initialised.NOTICE: This method is an early specification of the Events API for 1.2.x.x version. Use carefully, this package may change before the final 1.2.0.0 release.
As now theConnectorInfoManagerMUST implement theRunnableto connect to the remote connector server. NOTE: The results from this call are automatically cached and keyed by the RemoteFrameworkConnectionInfo passed in. To clear the cache, callConnectorInfoManagerFactory.clearRemoteCache().- Specified by:
getUnCheckedRemoteManagerin classConnectorInfoManagerFactory- Parameters:
info- The connection information.- Returns:
- The manager
-