Class CreatedEntitiesPoolImpl
java.lang.Object
ch.tocco.nice2.optional.calendar.impl.ical.CreatedEntitiesPoolImpl
- All Implemented Interfaces:
CreatedEntitiesPool
,SessionFactoryManagerListener
@Component
public class CreatedEntitiesPoolImpl
extends Object
implements SessionFactoryManagerListener, CreatedEntitiesPool
Keeps track of created entities of state CONCEPTION.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.calendar.api.CreatedEntitiesPool
CreatedEntitiesPool.EntityConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addEntityConfiguration
(String entityModelName, String keyFieldModelname) @Nullable Entity
findEntity
(Object key, String entityModelName) void
sessionClosing
(PersistenceSession session) Called just before thePersistenceSession
is closed.void
sessionCreated
(PersistenceSession session) void
-
Constructor Details
-
CreatedEntitiesPoolImpl
public CreatedEntitiesPoolImpl()
-
-
Method Details
-
addEntityConfiguration
- Specified by:
addEntityConfiguration
in interfaceCreatedEntitiesPool
-
addEntityConfiguration
- Specified by:
addEntityConfiguration
in interfaceCreatedEntitiesPool
-
setEntityConfigurations
- Specified by:
setEntityConfigurations
in interfaceCreatedEntitiesPool
-
sessionCreated
- Specified by:
sessionCreated
in interfaceSessionFactoryManagerListener
-
sessionClosing
Description copied from interface:SessionFactoryManagerListener
Called just before thePersistenceSession
is closed.- Specified by:
sessionClosing
in interfaceSessionFactoryManagerListener
-
findEntity
- Specified by:
findEntity
in interfaceCreatedEntitiesPool
-