public interface IClientDecorator
Modifier and Type | Method and Description |
---|---|
IStatus |
decorate()
Decorates the client, i.e. prepares the client before it is launched so the recorder can
record the client's traffic.
|
void |
init(IClientDecoratorContext context)
Initializes the decorator.
|
IStatus |
undecorate()
Undecorates the client after the client has terminated, i.e. undo what
IClientDecorator.decorate()
has performed. |
void init(IClientDecoratorContext context)
RecorderClientBindingConfiguration
as defined in the recording configuration, provided that a clientDecorator extension is defined
in the registry for the couple {RecorderType,ClientType}.context
- The client decorator context. A typical implementation of this method should store
the context instance so be used in the decoration and undecoration process.IStatus decorate()
IClientDecorator.init(IClientDecoratorContext)
method.IStatus undecorate()
IClientDecorator.decorate()
has performed. This method is invoked while the recorder is still active. The decorator has an
access to the recorder and client configurations and runtime properties. All of this can be done
using the context that it was provided with in the IClientDecorator.init(IClientDecoratorContext)
method.© Copyright IBM Corp. 2013. All rights reserved.