net.sf.staccatocommons.instrument.handler.deactivator
Class AbstractActivationAnnotationHandler<A extends Annotation>

java.lang.Object
  extended by net.sf.staccatocommons.instrument.handler.deactivator.AbstractActivationAnnotationHandler<A>
All Implemented Interfaces:
AnnotationHandler<A>

public abstract class AbstractActivationAnnotationHandler<A extends Annotation>
extends Object
implements AnnotationHandler<A>

Author:
flbulgarelli

Constructor Summary
AbstractActivationAnnotationHandler()
           
 
Method Summary
protected  void activateAll()
          Activates all the registered Deactivable handlers
 void addDeactivable(Deactivable deactivable)
          Register a deactivable object that will be activated or deactivated after the occurrence certain annotation processing events
protected  void deactivateAll()
          Deactivates all the registered Deactivable handlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.staccatocommons.instrument.handler.AnnotationHandler
getSupportedAnnotationType
 

Constructor Detail

AbstractActivationAnnotationHandler

public AbstractActivationAnnotationHandler()
Method Detail

addDeactivable

public void addDeactivable(@NonNull
                           Deactivable deactivable)
Register a deactivable object that will be activated or deactivated after the occurrence certain annotation processing events

Parameters:
deactivable -

deactivateAll

protected void deactivateAll()
Deactivates all the registered Deactivable handlers


activateAll

protected void activateAll()
Activates all the registered Deactivable handlers



Copyright © 2010-2012 StaccatoCommons. All Rights Reserved.