|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface BackEnd
Each concrete back end should implement this interface. The framework's core already provides a
pt.ist.fenixframework.backend.mem.DefaultConfig with a minimal back end that implements a
no-op TransactionManager.
| Method Summary | ||
|---|---|---|
|
fromOid(Object oid)
Backend-specific method to get a DomainObject given its OID. |
|
|
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. |
|
| Method Detail |
|---|
String getName()
FenixFrameworkDomainRoot getDomainRoot()
FenixFramework.getDomainRoot()<T extends DomainObject> T getDomainObject(String externalId)
FenixFramework.getDomainObject(String)TransactionManager getTransactionManager()
FenixFramework.getTransactionManager()<T extends DomainObject> T fromOid(Object oid)
DomainObject given its OID. Callers of this method
are responsible for providing a valid OID.
oid - The backend-specific identifier of the object to getvoid shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||