Class DefaultEntityViewFactory

java.lang.Object
com.foreach.across.core.support.AttributeSupport
com.foreach.across.modules.entity.views.DefaultEntityViewFactory
All Implemented Interfaces:
com.foreach.across.core.support.ReadableAttributes, com.foreach.across.core.support.WritableAttributes, DispatchingEntityViewFactory, EntityViewFactory, org.springframework.core.AttributeAccessor

public class DefaultEntityViewFactory extends com.foreach.across.core.support.AttributeSupport implements DispatchingEntityViewFactory
Base implementation for a EntityViewFactory that supports ViewElement rendering, and dispatches its logic to EntityViewProcessor instances that have more fine-grained hooks for interacting with the view rendering.

Supports a TransactionalEntityViewProcessorRegistry. All EntityViewProcessor.doControl(EntityViewRequest, EntityView, EntityViewCommand) calls will be dispatched in a single transaction if they occur with a state altering HttpMethod like HttpMethod.POST.

Since:
2.0.0
Author:
Arne Vandamme
See Also: