pt.ist.fenixframework.backend.jvstmmem
Class JVSTMMemBackEnd

Package class diagram package JVSTMMemBackEnd
java.lang.Object
  extended by pt.ist.fenixframework.backend.jvstmmem.JVSTMMemBackEnd
All Implemented Interfaces:
BackEnd

public class JVSTMMemBackEnd
extends Object
implements BackEnd


Field Summary
protected static String BACKEND_NAME
           
 
Constructor Summary
JVSTMMemBackEnd()
           
 
Method Summary
<T extends DomainObject>
T
fromOid(Object oid)
          Backend-specific method to get a DomainObject given its OID.
<T extends DomainObject>
T
getDomainObject(String externalId)
           
 DomainRoot getDomainRoot()
           
 String getName()
          Get the unique name of this BackEnd.
 TransactionManager getTransactionManager()
           
 void shutdown()
          Perform any required operations for a successful shutdown of the BackEnd.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BACKEND_NAME

protected static final String BACKEND_NAME
See Also:
Constant Field Values
Constructor Detail

JVSTMMemBackEnd

public JVSTMMemBackEnd()
Method Detail

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

getDomainObject

public <T extends DomainObject> T getDomainObject(String externalId)
Specified by:
getDomainObject in interface BackEnd
See Also:
FenixFramework.getDomainObject(String)

getDomainRoot

public DomainRoot getDomainRoot()
Specified by:
getDomainRoot in interface BackEnd
See Also:
FenixFramework.getDomainRoot()

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

getTransactionManager

public TransactionManager getTransactionManager()
Specified by:
getTransactionManager in interface BackEnd
See Also:
FenixFramework.getTransactionManager()

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.