public class ConnectorInfoManagerFactoryImpl extends ConnectorInfoManagerFactory
| Constructor and Description |
|---|
ConnectorInfoManagerFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLocalCache()
Clears the local bundle manager cache.
|
void |
clearRemoteCache()
Clears the remote cache.
|
ConnectorInfoManager |
getLocalManager(List<URL> urls,
ClassLoader bundleParentClassLoader) |
ConnectorInfoManager |
getLocalManager(URL... urls)
Creates the
ConnectorInfoManager from a list of bundle URLs. |
ConnectorInfoManager |
getRemoteManager(RemoteFrameworkConnectionInfo info)
Creates the
ConnectorInfoManager for a remote framework. |
ConnectorInfoManager |
getUnCheckedRemoteManager(RemoteFrameworkConnectionInfo info)
Creates the
ConnectorInfoManager for a remote framework but
the connection is not checked and not initialised. |
getInstancepublic void clearLocalCache()
ConnectorInfoManagerFactoryclearLocalCache in class ConnectorInfoManagerFactorypublic void clearRemoteCache()
ConnectorInfoManagerFactoryclearRemoteCache in class ConnectorInfoManagerFactorypublic ConnectorInfoManager getLocalManager(URL... urls) throws ConfigurationException
ConnectorInfoManagerFactoryConnectorInfoManager 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().
getLocalManager in class ConnectorInfoManagerFactoryurls - The list of bundle URLs. This list may consist of directories
consisting of un-jarred bundles and/or bundle jars.ConfigurationException - If there was any problem with any of the bundles.public ConnectorInfoManager getLocalManager(List<URL> urls, ClassLoader bundleParentClassLoader) throws ConfigurationException
ConfigurationExceptionpublic ConnectorInfoManager getRemoteManager(RemoteFrameworkConnectionInfo info) throws ConfigurationException
ConnectorInfoManagerFactoryConnectorInfoManager 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().
getRemoteManager in class ConnectorInfoManagerFactoryinfo - The connection information.ConfigurationExceptionpublic ConnectorInfoManager getUnCheckedRemoteManager(RemoteFrameworkConnectionInfo info)
ConnectorInfoManagerFactoryConnectorInfoManager 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 the
Runnable 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, call
ConnectorInfoManagerFactory.clearRemoteCache().getUnCheckedRemoteManager in class ConnectorInfoManagerFactoryinfo - The connection information.Copyright © 2019. All rights reserved.