|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewService
Service interface for creating views.
Method Summary | |
---|---|
ViewFactoryChain |
createFactories(EventType parentEventType,
List<ViewSpec> viewSpecList,
ViewServiceContext context)
|
Viewable |
createViews(Viewable eventStreamViewable,
List<ViewFactory> viewFactoryChain,
ViewServiceContext context)
Creates the views given a chain of view factories. |
void |
remove(EventStream eventStream,
Viewable view)
Removes a view discoupling the view and any of it's parent views up the tree to the last shared parent view. |
Method Detail |
---|
ViewFactoryChain createFactories(EventType parentEventType, List<ViewSpec> viewSpecList, ViewServiceContext context) throws ViewProcessingException
ViewProcessingException
Viewable createViews(Viewable eventStreamViewable, List<ViewFactory> viewFactoryChain, ViewServiceContext context)
Attempts to reuse compatible views under then parent event stream viewable as indicated by each view factories reuse method.
eventStreamViewable
- is the event stream to hook intoviewFactoryChain
- defines the list of view factorys to call makeView or canReuse oncontext
- provides services
void remove(EventStream eventStream, Viewable view)
eventStream
- - the event stream that originates the raw eventsview
- - the view (should be the last in a chain) to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |