public interface ChangeHandler
Modifier and Type | Method and Description |
---|---|
void |
created(RegistryBean registryBean)
Creates the
RegistryBean in the registry. |
void |
deleted(RegistryObject registryObject)
Deletes the
RegistryObject . |
java.util.List<RegistryObject> |
getModifiedObjects()
Obtains the list of
RegistryObject s modified when applying the changes. |
void |
updated(RegistryBean registryBean,
RegistryObject registryObject)
Updates the
RegistryObject with the values from the RegistryBean . |
void updated(RegistryBean registryBean, RegistryObject registryObject) throws JAXRException, MappingException
RegistryObject
with the values from the RegistryBean
.registryBean
- The RegistryBean
objectregistryObject
- The JAXR RegistryObject
MappingException
- If an error occurs in mapping the bean values to JAXRJAXRException
- If a JAXR error occurs while updating the registryObjectvoid deleted(RegistryObject registryObject) throws JAXRException
RegistryObject
.registryObject
- The RegistryObject
to deleteJAXRException
- If a JAXR error occurs while deleting registryObjectvoid created(RegistryBean registryBean) throws JAXRException, MappingException
RegistryBean
in the registry.registryBean
- The RegistryBean
object to createMappingException
- If an error occurs in creating the bean object in the registryJAXRException
- If a JAXR error occurs while accessing the registryjava.util.List<RegistryObject> getModifiedObjects()
RegistryObject
s modified when applying the changes.List
of the modified RegistryObject
instances.