com.softwareag.centrasite.appl.framework.persistence.mapper
Interface ObjectFactory<T extends RegistryBean>

All Known Implementing Classes:
BaseObjectFactory, ClassifiedInstancesObjectFactory

public interface ObjectFactory<T extends RegistryBean>

Interface for creating RegistryObject from RegistryBean and visa versa.


Method Summary
 T createRegistryBean(javax.xml.registry.infomodel.RegistryObject registryObject)
          Creates RegistryBean instance from the given RegistryObject based on configuration.
 javax.xml.registry.infomodel.RegistryObject createRegistryObject(T registryBean)
          Creates RegistryObject instance from the given RegistryBean based on configuration.
 

Method Detail

createRegistryObject

javax.xml.registry.infomodel.RegistryObject createRegistryObject(T registryBean)
                                                                 throws javax.xml.registry.JAXRException,
                                                                        MappingException
Creates RegistryObject instance from the given RegistryBean based on configuration.

Parameters:
registryBean -
Returns:
Newly created registry object.
Throws:
javax.xml.registry.JAXRException
MappingException

createRegistryBean

T createRegistryBean(javax.xml.registry.infomodel.RegistryObject registryObject)
                                          throws javax.xml.registry.JAXRException,
                                                 MappingException
Creates RegistryBean instance from the given RegistryObject based on configuration.

Parameters:
registryObject -
Returns:
Newly created registry bean.
Throws:
javax.xml.registry.JAXRException
MappingException