public interface ContextAware
Important Note: Only local event handlers attached to the context (as opposed to global event handlers initialized in the velocity.properties file) should implement ContextAware. Since global event handlers are singletons individual requests will not be able to count on the correct context being loaded before a request.
Modifier and Type | Method and Description |
---|---|
void |
setContext(Context context)
Initialize the EventHandler.
|
void setContext(Context context)
context
- Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.