Class ConnectorInfoManagerFactoryImpl
java.lang.Object
org.identityconnectors.framework.api.ConnectorInfoManagerFactory
org.identityconnectors.framework.impl.api.ConnectorInfoManagerFactoryImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the local bundle manager cache.void
Clears the remote cache.getLocalManager
(URL... urls) Creates theConnectorInfoManager
from a list of bundle URLs.getLocalManager
(List<URL> urls, ClassLoader bundleParentClassLoader) Creates theConnectorInfoManager
for a remote framework.Creates theConnectorInfoManager
for 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:ConnectorInfoManagerFactory
Clears the local bundle manager cache. NOTE: Avoid using this method outside of unit testing.- Specified by:
clearLocalCache
in classConnectorInfoManagerFactory
-
clearRemoteCache
public void clearRemoteCache()Description copied from class:ConnectorInfoManagerFactory
Clears 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:
clearRemoteCache
in classConnectorInfoManagerFactory
-
getLocalManager
Description copied from class:ConnectorInfoManagerFactory
Creates theConnectorInfoManager
from 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:
getLocalManager
in 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:ConnectorInfoManagerFactory
Creates theConnectorInfoManager
for 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:
getRemoteManager
in classConnectorInfoManagerFactory
- Parameters:
info
- The connection information.- Returns:
- The manager
- Throws:
ConfigurationException
-
getUnCheckedRemoteManager
Description copied from class:ConnectorInfoManagerFactory
Creates theConnectorInfoManager
for 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 theConnectorInfoManager
MUST implement theRunnable
to 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:
getUnCheckedRemoteManager
in classConnectorInfoManagerFactory
- Parameters:
info
- The connection information.- Returns:
- The manager
-