pt.ist.fenixframework.backend.mem
Class MemBackEnd
java.lang.Object
pt.ist.fenixframework.backend.mem.MemBackEnd
- All Implemented Interfaces:
- BackEnd
public class MemBackEnd
- extends Object
- implements BackEnd
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BACKEND_NAME
public static final String BACKEND_NAME
- See Also:
- Constant Field Values
transactionManager
protected final TransactionManager transactionManager
MemBackEnd
public MemBackEnd()
getName
public String getName()
- Description copied from interface:
BackEnd
- 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
- Specified by:
getName
in interface BackEnd
- See Also:
FenixFramework
getDomainRoot
public DomainRoot getDomainRoot()
- Specified by:
getDomainRoot
in interface BackEnd
- See Also:
FenixFramework.getDomainRoot()
getDomainObject
public <T extends DomainObject> T getDomainObject(String externalId)
- Specified by:
getDomainObject
in interface BackEnd
- See Also:
FenixFramework.getDomainObject(String)
getTransactionManager
public TransactionManager getTransactionManager()
- Specified by:
getTransactionManager
in interface BackEnd
- See Also:
FenixFramework.getTransactionManager()
fromOid
public <T extends DomainObject> T fromOid(Object oid)
- Description copied from interface:
BackEnd
- Backend-specific method to get a
DomainObject
given its OID. Callers of this method
are responsible for providing a valid OID.
- Specified by:
fromOid
in interface BackEnd
- Parameters:
oid
- The backend-specific identifier of the object to get
shutdown
public void shutdown()
- Description copied from interface:
BackEnd
- Perform any required operations for a successful shutdown of the BackEnd. After invoking
this method there is no guarantee that the Fenix Framework is able to provide any more
services.
- Specified by:
shutdown
in interface BackEnd
Copyright © 2013. All Rights Reserved.