|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: Description: A PackageEntityFactory instance is responsible for the creation of Entity instances from persistence. When an Entity instance shall be created from persistence (by invoking a reading statement in TransactionManager), the Entity related attributes / links will be read from persistence. Secondly, the corresponding factory will be called to create the Entity instance. PackageEntityFactory needs to take care that all its Entity instances are created properly.
Each PackageEntityFactory instance may be responsible for one conversation id, therefore a PackageEntityFactory instance needs to be registered with one TransactionManager instance. It is however also possible to make one PackageEntityFactory instance responsbile for multiple conversation ids - in this case, one PackageEntityFactory instance needs to be registered with multiple TransactionManager instances.
Each PackageEntityFactory instance has a n:1 relationship to a PackagePersistenceMaster instance. Therefore, each PackageEntityFactory instance needs to specify its corresponding PackagePersistenceMaster instance. Copyright: Copyright (c) 2002 Company:
Entity
,
PackagePersistenceMaster
,
TransactionManager
Method Summary | |
PersistableEntity |
createEntity(PersistenceContainer o)
Creates an Entity after reading persistet Entity data from persistence. |
Method Detail |
public PersistableEntity createEntity(PersistenceContainer o)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |