public class ApiAdapterFactory extends Object
Modifier | Constructor and Description |
---|---|
protected |
ApiAdapterFactory()
Protected constructor to prevent outside instantiation
|
Modifier and Type | Method and Description |
---|---|
ApiAdapter |
getApiAdapter(String name,
PluginManager pluginMgr)
Accessor for an adapter, given the api name.
|
static ApiAdapterFactory |
getInstance()
Accessor for the ApiAdapterFactory (singleton).
|
protected ApiAdapterFactory()
public static ApiAdapterFactory getInstance()
public ApiAdapter getApiAdapter(String name, PluginManager pluginMgr)
name
- the adapter namepluginMgr
- Plugin ManagerNucleusUserException
- when requested API not found in CLASSPATHCopyright © 2019. All rights reserved.