public interface IClientDecoratorContext
IClientDecorator
with the necessary
getters and setters so the client decorator can operate.Modifier and Type | Method and Description |
---|---|
ClientConfiguration |
getClientConfiguration()
Returns the configuration of the client that the client decorator is decorating.
|
Object |
getClientProperty(String name)
Returns a named runtime property of the client that client decorator is decorating.
|
IRecorderLog |
getLog()
Returns an instance of a logger that can be used by the decorator to log messages,
including errors and exceptions.
|
RecorderConfiguration |
getRecorderConfiguration()
Returns the configuration of the recorder that the client decorator works for.
|
Object |
getRecorderProperty(String name)
Returns a named runtime property of the recorder that the client decorator works for.
|
void |
setClientProperty(String name,
Object value)
Sets the value of a named runtime property of the client that client decorator is decorating.
|
Object getRecorderProperty(String name) throws UnsupportedPropertyException
name
- A property nameUnsupportedPropertyException
- If the recorder does not support the specified
property. Note that a recorder may support a property only in a specific time-frame (for
instance, only when the recorder is running).Object getClientProperty(String name) throws UnsupportedPropertyException
name
- A property nameUnsupportedPropertyException
- If the client does not support the specified
property. Note that a client may support a property only in a specific time-frame (for
instance, only when the client has not started yet).void setClientProperty(String name, Object value) throws UnsupportedPropertyException
name
- A property namevalue
- The property valueUnsupportedPropertyException
- If the client does not support setting the specified
property. Note that a client may support setting a property only in a specific time-frame (for
instance, only when the client has not started yet).ClientConfiguration getClientConfiguration()
RecorderConfiguration getRecorderConfiguration()
IRecorderLog getLog()
© Copyright IBM Corp. 2013. All rights reserved.