Bean Types Managed by CSAF
The framework keeps an internal data model for user-defined bean classes, i.e., bean classes that extend the com.softwareag.centrasite.appl.framework.beans.RegistryBean interface.
After the bean interfaces have been defined as Java classes having the @RegistryObject annotation, they must be registered by calling the Configuration.addBeanType(java.util.Class) method.
In principle, calling Configuration.addBeanType(java.util.Class) for each bean class is not mandatory, since CSAF tries to process this information (configuration) at runtime when required. Nevertheless, it is still highly recommended because there are cases in which it is not possible to obtain the mapping information at runtime, e.g., when performing a search in the registry.