pt.ist.fenixframework.atomic
Class DefaultContextFactoryViaReflection
java.lang.Object
pt.ist.fenixframework.atomic.ContextFactory
pt.ist.fenixframework.atomic.DefaultContextFactoryViaReflection
public final class DefaultContextFactoryViaReflection
- extends ContextFactory
This DefaultContextFactoryViaReflection tries to find, via reflection, the ContextFactory
class of the backend in use. It does so, first by
getting the current BackEndId
(by reflection) and then by getting the factory class
(through getAtomicContextFactoryClass()
--- again by reflection). It delegates to
that factory the creation of the appropriate AtomicContext
. If it fails, it throws an
Error, indicating such condition.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContextFactoryViaReflection
public DefaultContextFactoryViaReflection()
newContext
public static AtomicContext newContext(Atomic atomic)
Copyright © 2013. All Rights Reserved.