public ContextInstanceFactoryRegistry() {
this.registry = new HashMap<Class<? extends Context>, ContextInstanceFactory>();
// hard wired contexts:
register(VariableScope.class, new ReuseContextInstanceFactory(
VariableScopeInstance.class));
register(ExceptionScope.class, new ReuseContextInstanceFactory(
DefaultExceptionScopeInstance.class));
register(SwimlaneContext.class, new ReuseContextInstanceFactory(
SwimlaneContextInstance.class));
}