public class BatchPersistenceEngineImpl extends java.lang.Object implements BatchPersistenceEngine
BatchPersistenceEngine
.Constructor and Description |
---|
BatchPersistenceEngineImpl() |
Modifier and Type | Method and Description |
---|---|
void |
create(PersistenceContext context,
java.util.Collection<RegistryBean> beans)
Persists new bean in the registry.
|
void |
createOrUpdate(PersistenceContext context,
java.util.Collection<RegistryBean> beans)
Creates or updates the bean in the registry.
|
void |
delete(PersistenceContext context,
java.util.Collection<RegistryBean> beans)
Deletes a
Collection of beans from the registry. |
void |
update(PersistenceContext context,
java.util.Collection<RegistryBean> beans)
Updates the bean in the registry.
|
public void delete(PersistenceContext context, java.util.Collection<RegistryBean> beans) throws MappingException, JAXRException
BatchPersistenceEngine
Collection
of beans from the registry.delete
in interface BatchPersistenceEngine
context
- The PersistenceContext
instancebeans
- The Collection
of RegistryBean
instances to deleteMappingException
- If an error occurs while deleting the beansJAXRException
- If a JAXR error occurs while deletingpublic void update(PersistenceContext context, java.util.Collection<RegistryBean> beans) throws MappingException, JAXRException
BatchPersistenceEngine
update
in interface BatchPersistenceEngine
context
- The PersistenceContext
instancebeans
- The Collection
of RegistryBean
instances to updateMappingException
- If an error occurs while updating the beansJAXRException
- If a JAXR error occurs while updatingpublic void create(PersistenceContext context, java.util.Collection<RegistryBean> beans) throws MappingException, JAXRException
BatchPersistenceEngine
create
in interface BatchPersistenceEngine
context
- The PersistenceContext
instancebeans
- The Collection
of RegistryBean
instances to createMappingException
- If an error occurs while creating the beansJAXRException
- If a JAXR error occurs while creatingpublic void createOrUpdate(PersistenceContext context, java.util.Collection<RegistryBean> beans) throws MappingException, JAXRException
BatchPersistenceEngine
createOrUpdate
in interface BatchPersistenceEngine
context
- The PersistenceContext
instancebeans
- The Collection
of RegistryBean
instances to create or updateMappingException
- If an error occurs while creating/updating the beansJAXRException
- If a JAXR error occurs while creating/updating