org.springframework.webflow.definition.registry
Interface FlowDefinitionRegistrar

All Known Implementing Classes:
ExternalizedFlowDefinitionRegistrar, XmlFlowRegistrar

public interface FlowDefinitionRegistrar

A strategy to use to populate a flow definition registry with one or more flow definitions.

Flow definition registrars encapsulate the knowledge about the source of a set of flow definition resources and the behavior necessary to add those resources to a flow definition registry.

The typical usage pattern is as follows:

  1. Create a new (initially empty) flow definition registry.
  2. Use any number of flow definition registrars to populate the registry by calling registerFlowDefinitions(FlowDefinitionRegistry).

This design where various registrars populate a generic registry was inspired by Spring's GenericApplicationContext, which can use any number of BeanDefinitionReaders to drive context population.

Author:
Keith Donald
See Also:
FlowDefinitionRegistry

Method Summary
 void registerFlowDefinitions(FlowDefinitionRegistry registry)
          Register flow definition resources managed by this registrar in the registry provided.
 

Method Detail

registerFlowDefinitions

void registerFlowDefinitions(FlowDefinitionRegistry registry)
Register flow definition resources managed by this registrar in the registry provided.

Parameters:
registry - the registry to register flow definitions in


Copyright © 2004-2007. All Rights Reserved.