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|
Initialize the EventHandler.
void setContext(Context context)
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.