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. |
abstract ConnectorInfoManager |
getUnCheckedRemoteManager(RemoteFrameworkConnectionInfo info)
Creates the
ConnectorInfoManager for a remote framework but
the connection is not checked and not initialised. |
public static ConnectorInfoManagerFactory getInstance()
public abstract ConnectorInfoManager getLocalManager(URL... urls)
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)
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 ConnectorInfoManager getUnCheckedRemoteManager(RemoteFrameworkConnectionInfo info)
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
clearRemoteCache()
.info
- The connection information.public abstract void clearLocalCache()
public abstract void clearRemoteCache()
Copyright © 2022. All rights reserved.