com.softwareag.centrasite.appl.framework.beans.annotations
Annotation Type Mapping


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Mapping

Annotation for specifying the PersistenceEngine and BeanMapper for a bean.


Optional Element Summary
 java.lang.Class<?> mapper
          Returns the BeanMapper class, which is used to map the bean to registry objects.
 java.lang.Class<?> persistenceEngine
          Returns the PersistenceEngine implementation class, which is used to read instances of this class from the registry, or write them into the registry.
 

persistenceEngine

public abstract java.lang.Class<?> persistenceEngine
Returns the PersistenceEngine implementation class, which is used to read instances of this class from the registry, or write them into the registry.

Default:
com.softwareag.centrasite.appl.framework.persistence.impl.PersistenceEngineImpl.class

mapper

public abstract java.lang.Class<?> mapper
Returns the BeanMapper class, which is used to map the bean to registry objects.

Default:
com.softwareag.centrasite.appl.framework.persistence.mapper.impl.DefaultBackedBeanMapper.class