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. |
getInstance
public void clearLocalCache()
ConnectorInfoManagerFactory
clearLocalCache
in class ConnectorInfoManagerFactory
public void clearRemoteCache()
ConnectorInfoManagerFactory
clearRemoteCache
in class ConnectorInfoManagerFactory
public ConnectorInfoManager getLocalManager(URL... urls) throws ConfigurationException
ConnectorInfoManagerFactory
ConnectorInfoManager
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 ConnectorInfoManagerFactory
urls
- 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
ConfigurationException
public ConnectorInfoManager getRemoteManager(RemoteFrameworkConnectionInfo info) throws ConfigurationException
ConnectorInfoManagerFactory
ConnectorInfoManager
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 ConnectorInfoManagerFactory
info
- The connection information.ConfigurationException
public ConnectorInfoManager getUnCheckedRemoteManager(RemoteFrameworkConnectionInfo info)
ConnectorInfoManagerFactory
ConnectorInfoManager
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 ConnectorInfoManagerFactory
info
- The connection information.Copyright © 2022. All rights reserved.