public interface ContextAware<T extends Context>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
close()
Callback method to close the adapter and any open resources.
|
void |
init(T ctx, java.util.Map<java.lang.String,java.lang.String> config)
Callback method for receiving context and configuration.
|
void init(T ctx, java.util.Map<java.lang.String,java.lang.String> config)
ctx
- - Contextconfig
- - Configurationvoid close()