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