Package com.aquima.interactions.process
Class DefaultProcessExtensionFactory
java.lang.Object
com.aquima.interactions.process.DefaultProcessExtensionFactory
- All Implemented Interfaces:
IProcessExtensionFactory
A factory that provides the default extensions to the process engine.
- Since:
- 9.5
- Author:
- G. der Kinderen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the authorization algorithm.getPriorityAlgorithm
(String name) Returns the priority algorithm.getRoutingAlgorithm
(String name) Returns the routing algorithm.
-
Constructor Details
-
DefaultProcessExtensionFactory
public DefaultProcessExtensionFactory()
-
-
Method Details
-
getAuthorizationAlgorithm
public IAuthorizationAlgorithm getAuthorizationAlgorithm(String name) throws UnknownAuthorizationAlgorithmException Description copied from interface:IProcessExtensionFactory
Returns the authorization algorithm.- Specified by:
getAuthorizationAlgorithm
in interfaceIProcessExtensionFactory
- Parameters:
name
- The name of the algorithm, not null.- Returns:
- The algorithm implementation, never null.
- Throws:
UnknownAuthorizationAlgorithmException
- In case of an unknown authorization algorithm.
-
getPriorityAlgorithm
public IPriorityAlgorithm getPriorityAlgorithm(String name) throws UnknownPriorityAlgorithmException Description copied from interface:IProcessExtensionFactory
Returns the priority algorithm.- Specified by:
getPriorityAlgorithm
in interfaceIProcessExtensionFactory
- Parameters:
name
- The name of the algorithm, not null.- Returns:
- The algorithm implementation, never null.
- Throws:
UnknownPriorityAlgorithmException
- In case of an unknown priority algorithm.
-
getRoutingAlgorithm
Description copied from interface:IProcessExtensionFactory
Returns the routing algorithm.- Specified by:
getRoutingAlgorithm
in interfaceIProcessExtensionFactory
- Parameters:
name
- The name of the algorithm, not null.- Returns:
- The algorithm implementation, never null.
- Throws:
UnknownRoutingAlgorithmException
- In case of an unknown routing algorithm.
-