public class ConnectorUnit extends Unit<DataSetConnector<?,?>>
Unit for the DataSetConnector.| Constructor and Description |
|---|
ConnectorUnit()
Instantiates a new ConnectorUnit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
Object object)
Adds loaded object using name as a key.
|
void |
addWithoutLicense(String name,
Object object)
Adds loaded object which doesn't have license using name as a key.
|
boolean |
allowLoadAll()
Checks if loader allowed to to load all objects regardless of license.
|
boolean |
canBeLoadedAgain()
Checks if module can be loaded again.
|
void |
finishLoad(UnitLoader loader)
Executed when UnitLoader finishes load.
|
void |
free()
Executed when there is a need to free memory.
|
List<DataSetConnector<?,?>> |
getList()
Gets the list of loaded modules.
|
Map<String,DataSetConnector<?,?>> |
getObjects()
Gets the map of the data set connectors.
|
List<KeyValue> |
getSelect()
Gets the list used by combo box to select available connectors.
|
List<KeyValue> |
getSelectAll()
Gets the list used by combo box to select all connectors, event without license.
|
boolean |
loadsConfigurableExtensions()
Returns true if Unit is indented to load configurable extensions.
|
boolean |
startLoad()
Executed when UnitLoader starts loading.
|
getClassPath, getJarPath, getObjClass, getPath, isSingleton, setClassPath, setJarPath, setObjClass, setPath, setSingletonpublic void add(String name,
Object object)
Unitadd in class Unit<DataSetConnector<?,?>>name - the unique name of the objectobject - the objectpublic void addWithoutLicense(String name,
Object object)
UnitaddWithoutLicense in class Unit<DataSetConnector<?,?>>name - the unique name of the objectobject - the objectpublic boolean allowLoadAll()
UnitallowLoadAll in class Unit<DataSetConnector<?,?>>public boolean canBeLoadedAgain()
UnitcanBeLoadedAgain in class Unit<DataSetConnector<?,?>>public void finishLoad(UnitLoader loader)
UnitfinishLoad in class Unit<DataSetConnector<?,?>>loader - the UnitLoaderpublic void free()
Unitfree in class Unit<DataSetConnector<?,?>>public List<DataSetConnector<?,?>> getList()
UnitgetList in class Unit<DataSetConnector<?,?>>public Map<String,DataSetConnector<?,?>> getObjects()
public List<KeyValue> getSelect()
public List<KeyValue> getSelectAll()
public boolean loadsConfigurableExtensions()
UnitloadsConfigurableExtensions in class Unit<DataSetConnector<?,?>>public boolean startLoad()
UnitstartLoad in class Unit<DataSetConnector<?,?>>Copyright © 2010-2020 Toolsverse. All Rights Reserved.