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. |
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
Copyright © 2013. All Rights Reserved.