public interface BatchPersistenceEngine
Modifier and Type | Method and Description |
---|---|
void |
create(PersistenceContext context,
java.util.Collection<RegistryBean> beans)
Deprecated.
use #createOrUpdate(PersistenceContext, Collection
|
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)
Deprecated.
use #createOrUpdate(PersistenceContext, Collection
|
void delete(PersistenceContext context, java.util.Collection<RegistryBean> beans) throws MappingException, JAXRException
Collection
of beans from the registry.context
- The PersistenceContext
instancebeans
- The Collection
of RegistryBean
instances to deleteJAXRException
- If a JAXR error occurs while deletingMappingException
- If an error occurs while deleting the beansvoid update(PersistenceContext context, java.util.Collection<RegistryBean> beans) throws MappingException, JAXRException
context
- The PersistenceContext
instancebeans
- The Collection
of RegistryBean
instances to updateJAXRException
- If a JAXR error occurs while updatingMappingException
- If an error occurs while updating the beansvoid create(PersistenceContext context, java.util.Collection<RegistryBean> beans) throws MappingException, JAXRException
context
- The PersistenceContext
instancebeans
- The Collection
of RegistryBean
instances to createJAXRException
- If a JAXR error occurs while creatingMappingException
- If an error occurs while creating the beansvoid createOrUpdate(PersistenceContext context, java.util.Collection<RegistryBean> beans) throws MappingException, JAXRException
context
- The PersistenceContext
instancebeans
- The Collection
of RegistryBean
instances to create or updateJAXRException
- If a JAXR error occurs while creating/updatingMappingException
- If an error occurs while creating/updating the beans