public class SimpleSurrogateManager extends java.lang.Object implements SurrogateManager
| Constructor and Description |
|---|
SimpleSurrogateManager(TransactionManager tm) |
| Modifier and Type | Method and Description |
|---|---|
void |
createSurrogates(PrepareRequest req)
Modify req so that all references are local.
|
public SimpleSurrogateManager(TransactionManager tm)
public void createSurrogates(PrepareRequest req)
SurrogateManagerModify req so that all references are local. It should do so by creating or reusing surrogate objects for all of the non-local references. Any new surrogate objects should be added to the req.creates, while any read surrogate objects should be added to req.reads.
TODO:
createSurrogates in interface SurrogateManagerreq - the collections of objects created, modified, and read by this
transaction. These collections may be modified if surrogate
objects are created or modified.