org.specrunner.listeners.core
Class AbstractContextListener

java.lang.Object
  extended by 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

Constructor Summary
AbstractContextListener()
           
 
Method Summary
 void onCreate(IContext context)
          A context creation.
 void onDestroy(IContext context)
          A context destruction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.specrunner.listeners.ISpecRunnerListener
getName, reset
 

Constructor Detail

AbstractContextListener

public AbstractContextListener()
Method Detail

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.