case MVCC:
if (log.isTraceEnabled()) log.trace("Creating an MVCC context factory");
return componentType.cast(new MVCCContextFactory());
case OPTIMISTIC:
if (log.isTraceEnabled()) log.trace("Creating an optimistic context factory");
return componentType.cast(new OptimisticContextFactory());
case PESSIMISTIC:
if (log.isTraceEnabled()) log.trace("Creating a pessimistic context factory");
return componentType.cast(new PessimisticContextFactory());
}
throw new ConfigurationException("Unknown configuration node locking scheme");