Package de.xima.fc.manager
Class ProcessingManager
- java.lang.Object
-
- de.xima.fc.manager.ProcessingManager
-
public class ProcessingManager extends Object
Manager-Instance for all registered and availableIProcessing
-Implementations- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ProcessingManager()
-
Method Summary
-
-
-
Method Detail
-
init
public static void init()
-
registerProcessing
public static void registerProcessing(Class<? extends IProcessing> processing) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
Registers anIProcessing
system-wide by using his key (seeIProcessing.getProcessingKey()
). Already used keys will override the current registered processing!- Parameters:
processing
-IProcessing
-Class to register- Throws:
InstantiationException
- if an error occurs while instantiate the processing for reading the processing-keyIllegalAccessException
- if an error occurs while instantiate the processing for reading the processing-keySecurityException
NoSuchMethodException
InvocationTargetException
IllegalArgumentException
-
registerProcessing
public static void registerProcessing(Mandant man, Class<? extends IProcessing> processing) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
Registers anIProcessing
for the specified client wide by using his key (seeIProcessing.getProcessingKey()
). Already used keys will override the current registered processing! If the client isnull
, the processing will be registeres usingregisterProcessing(Class)
.- Parameters:
processing
-IProcessing
-Class to registerman
-Mandant
to register the processing for- Throws:
InstantiationException
- if an error occurs while instantiate the processing for reading the processing-keyIllegalAccessException
- if an error occurs while instantiate the processing for reading the processing-keySecurityException
NoSuchMethodException
InvocationTargetException
IllegalArgumentException
-
getProcessingClass
public static Class<? extends IProcessing> getProcessingClass(String key)
-
getProcessingClass
public static Class<? extends IProcessing> getProcessingClass(String key, Mandant man)
-
getAvailableProcessings
public static Map<String,Class<? extends IProcessing>> getAvailableProcessings()
-
getAvailableProcessings
public static Map<String,Class<? extends IProcessing>> getAvailableProcessings(Mandant man)
-
getEmptyProcessing
public static IProcessing getEmptyProcessing(Aktion action)
-
getEmptyProcessing
public static IProcessing getEmptyProcessing(String key)
-
getEmptyProcessing
public static IProcessing getEmptyProcessing(String key, Mandant man)
-
getEmptyProcessing
@Deprecated public static IProcessing getEmptyProcessing(Bedingung bedingung)
Deprecated.
-
-