org.specrunner.context.core
Class ContextFactoryImpl
java.lang.Object
org.specrunner.context.core.ContextFactoryImpl
- All Implemented Interfaces:
- IContextFactory
public class ContextFactoryImpl
- extends Object
- implements IContextFactory
Default context factory implementation.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextFactoryImpl
public ContextFactoryImpl()
newContext
public IContext newContext(ISource source,
IRunner runner)
throws ContextException
- Description copied from interface:
IContextFactory
- Creates a new context based on an source and a runner.
- Specified by:
newContext in interface IContextFactory
- Parameters:
source - The source context.runner - The context runner.
- Returns:
- A new context.
- Throws:
ContextException - On creation errors.
Copyright © 2014. All rights reserved.