pt.ist.fenixframework.backend
Class CurrentBackEndId

Package class diagram package CurrentBackEndId
java.lang.Object
  extended by pt.ist.fenixframework.backend.BackEndId
      extended by pt.ist.fenixframework.backend.CurrentBackEndId

public class CurrentBackEndId
extends BackEndId


Constructor Summary
CurrentBackEndId()
           
 
Method Summary
 Class<? extends ContextFactory> getAtomicContextFactoryClass()
          Get the Class instance for the factory that creates AtomicContexts.
 String getBackEndName()
          Get the (unique) name of this BackEnd.
 Class<? extends Config> getDefaultConfigClass()
          Get the Class instance that represents the default configuration class to use for this backend.
 
Methods inherited from class pt.ist.fenixframework.backend.BackEndId
getBackEndId, getParam, setParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentBackEndId

public CurrentBackEndId()
Method Detail

getBackEndName

public String getBackEndName()
Description copied from class: BackEndId
Get the (unique) name of this BackEnd. The String returned by this method should contain only valid characters in a filename (because it can be used for configuration by convention (see FenixFramework).

Specified by:
getBackEndName in class BackEndId
See Also:
FenixFramework

getDefaultConfigClass

public Class<? extends Config> getDefaultConfigClass()
Description copied from class: BackEndId
Get the Class instance that represents the default configuration class to use for this backend. This class is used to instantite a Config instance is none is explicitly indicated.

Specified by:
getDefaultConfigClass in class BackEndId

getAtomicContextFactoryClass

public Class<? extends ContextFactory> getAtomicContextFactoryClass()
Description copied from class: BackEndId
Get the Class instance for the factory that creates AtomicContexts. These contexts are backend-specific (thus the backend provides the factory), because they control the logic required to execute a Callable within a transactional context.

Specified by:
getAtomicContextFactoryClass in class BackEndId


Copyright © 2013. All Rights Reserved.