com.ibm.rational.test.lt.recorder.core.annotations
Interface IAnnotationStateHandler
- All Known Subinterfaces:
- ITransactionAnnotationStateHandler
- All Known Implementing Classes:
- AnnotationStateHandler
public interface IAnnotationStateHandler
An annotation state handler is responsible of coordinating the management of one
or several annotation types. It is responsible of allowing or disabling
annotations depending on a state whose logic is managed by this handler.
Some handlers may provide additional services by publishing an interface that
extends this interface. In this case, the handler instance may be retrieved
by invoking DelegaterComponent.getProperty(String)
on the annotation recorder
instance, with a property name that follows conventions documented in
RecorderCore.ANNOTATION_STATE_HANDLER_PREFIX
.
addListener
void addListener(IAnnotationStateListener listener)
removeListener
void removeListener(IAnnotationStateListener listener)
© Copyright IBM Corp. 2012. All rights reserved.