Interface IRegistryViewFactory
-
public interface IRegistryViewFactory
This interface can be used to ask the registry to construct specific view instances. The factory is responsible for instantiating the view, but the registry is responsible for establishing the connection with the internal data store and to fill up the view with entries. Instances of the factory are intended to be passed toIQuerySpecificationRegistry.createView(IRegistryViewFactory)
and only the view instance returned by that method can be considered initialized.- Since:
- 1.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRegistryView
createView(IQuerySpecificationRegistry registry)
Instantiate a new view object and store the reference to the registry.
-
-
-
Method Detail
-
createView
IRegistryView createView(IQuerySpecificationRegistry registry)
Instantiate a new view object and store the reference to the registry. This method should only be called by anIQuerySpecificationRegistry
.- Parameters:
registry
- that will be connected to the view- Returns:
- the new instance of the view
- No Reference:
- This method is not intended to be referenced by clients.
-
-