|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersistenceManagerFactory
Factory interface for instantiating typed PersistenceManager
objects.
| Method Summary | ||
|---|---|---|
|
deregister(java.lang.Class<T> entityClass)
Deregister a persistent manager for the given type. |
|
|
getPersistenceManager(java.lang.Class<T> entityClass)
Get a persistence manager for the given domain type. |
|
|
register(java.lang.Class<T> entityClass,
PersistenceManager<T> manager)
Register a persistence manager for a particular type. |
|
| Method Detail |
|---|
<T> PersistenceManager<T> getPersistenceManager(java.lang.Class<T> entityClass)
T - an identifiable type for which the persitence manager is to be
returned.entityClass - type for which a persistence manager should be returned.
null.
<T> void register(java.lang.Class<T> entityClass,
PersistenceManager<T> manager)
throws DomainException
T - type of the domain object for PM, subtype of Identifiable.entityClass - class of the type handled by the given PM.manager - persistence manage handling the given type.
DomainException - in case there is already a PM registered for that type.<T> void deregister(java.lang.Class<T> entityClass)
T - type of the domain object for PM, subtype of Identifiable.entityClass - class of the type for which the PM will be deregistered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||