Package org.webharvest.ioc
Interface ContextFactory
-
public interface ContextFactory
Factory creating brand new instances ofDynamicScopeContext
. In order to instantiate appropriateDynamicScopeContext
implementation factory accepts namespace URI of the configuration being executed.- Since:
- 2.1.0-SNAPSHOT
- Version:
- %I%, %G%
- Author:
- Piotr Dyraga
- See Also:
DynamicScopeContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DynamicScopeContext
create(Config config)
Returns brand new instance ofDynamicScopeContext
.
-
-
-
Method Detail
-
create
DynamicScopeContext create(Config config)
Returns brand new instance ofDynamicScopeContext
. Factory instantiates particular implementation ofDynamicScopeContext
basis on provided configuration namespace URI.- Parameters:
namespaceUri
- namespace URI of configuration being executed- Returns:
- brand new instance of
DynamicScopeContext
-
-