|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unihalle.informatik.Alida.batch.ALDBatchOutputManager
public abstract class ALDBatchOutputManager
Class to manage data outputs in batch processing with operators.
| Field Summary | |
|---|---|
protected static boolean |
debug
For internal debugging purposes |
protected java.util.HashMap<java.lang.Class<?>,java.lang.String> |
mapTable
Hashtable containing mappings of datatypes to provider classes. |
| Constructor Summary | |
|---|---|
protected |
ALDBatchOutputManager()
Default constructor. |
| Method Summary | |
|---|---|
ALDBatchOutputSummarizer |
getProvider(java.lang.Class<?> cl,
java.lang.Class<?> interfaceRequired)
Method to return an instance of the batch output provider of the requested class. |
protected static java.util.HashMap<java.lang.Class<?>,java.lang.String> |
initMapTable(java.lang.Class<?> interfaceRequired)
Method to initialize the hashmap which registers batch output providers. |
boolean |
providerAvailable(java.lang.Class<?> cl)
Check if a provider has registered for the given class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static boolean debug
protected java.util.HashMap<java.lang.Class<?>,java.lang.String> mapTable
| Constructor Detail |
|---|
protected ALDBatchOutputManager()
| Method Detail |
|---|
protected static java.util.HashMap<java.lang.Class<?>,java.lang.String> initMapTable(java.lang.Class<?> interfaceRequired)
interfaceRequired - Interface of which providers are registered.public boolean providerAvailable(java.lang.Class<?> cl)
Note that this function does not try to instantiate a provider, thus, just a flat check is done and on lateron requesting a provider object errors are still possible.
cl - Requested class.
public ALDBatchOutputSummarizer getProvider(java.lang.Class<?> cl,
java.lang.Class<?> interfaceRequired)
throws ALDBatchIOManagerException
The provider is required to implement the requested interface
interfaceRequired (which by itself has to implement
ALDBatchOutputSummarizer).
cl - Class to get a provider for.interfaceRequired - Interface provider should implement.
ALDBatchIOManagerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||