public abstract class ConnectorInfoManagerFactory extends Object
Constructor and Description |
---|
ConnectorInfoManagerFactory() |
Modifier and Type | Method and Description |
---|---|
abstract void |
clearLocalCache()
Clears the local bundle manager cache.
|
abstract void |
clearRemoteCache()
Clears the remote cache.
|
static ConnectorInfoManagerFactory |
getInstance()
Returns the instance of this factory.
|
abstract ConnectorInfoManager |
getLocalManager(URL... urls)
Creates the
ConnectorInfoManager from
a list of bundle URLs. |
abstract ConnectorInfoManager |
getRemoteManager(RemoteFrameworkConnectionInfo info)
Creates the
ConnectorInfoManager for
a remote framework. |
public static ConnectorInfoManagerFactory getInstance()
public abstract ConnectorInfoManager getLocalManager(URL... urls) throws ConfigurationException
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 clearLocalCache()
.
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 abstract ConnectorInfoManager getRemoteManager(RemoteFrameworkConnectionInfo info) throws RuntimeException
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 clearRemoteCache()
.
info
- The connection information.RuntimeException
- If there was any problem connectingpublic abstract void clearLocalCache()
public abstract void clearRemoteCache()
Copyright © 2013. All Rights Reserved.