org.specrunner.listeners.core
Class AbstractContextListener
java.lang.Object
org.specrunner.listeners.core.AbstractContextListener
- All Implemented Interfaces:
- IContextListener, ISpecRunnerListener
- Direct Known Subclasses:
- ContextListenerDestroyer, ContextListenerPopulator
public abstract class AbstractContextListener
- extends Object
- implements IContextListener
Helper for context listeners.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContextListener
public AbstractContextListener()
onCreate
public void onCreate(IContext context)
- Description copied from interface:
IContextListener
- A context creation.
- Specified by:
onCreate in interface IContextListener
- Parameters:
context - A context.
onDestroy
public void onDestroy(IContext context)
- Description copied from interface:
IContextListener
- A context destruction.
- Specified by:
onDestroy in interface IContextListener
- Parameters:
context - A block.
Copyright © 2015. All rights reserved.