Class JavaDataRouter

java.lang.Object
org.jumpmind.symmetric.route.AbstractDataRouter
org.jumpmind.symmetric.route.JavaDataRouter
All Implemented Interfaces:
IBuiltInExtensionPoint, IExtensionPoint, IDataRouter

public class JavaDataRouter extends AbstractDataRouter implements IBuiltInExtensionPoint
This java data router is invoked when the router_type is 'java'. The router_expression is Java code for the routeToNodes() method of a class that extends the AbstractDataRouter. The class is compiled in memory and cached by both the context of the batch and the classloader. For a new batch, if the router_expression is the same, the same class is used, otherwise the class is renamed, compiled, and loaded again.