Package com.norconex.commons.lang.config
Class ExtendedReferenceInsertionEventHandler
java.lang.Object
com.norconex.commons.lang.config.ExtendedReferenceInsertionEventHandler
- All Implemented Interfaces:
EventHandler,ReferenceInsertionEventHandler
public class ExtendedReferenceInsertionEventHandler
extends Object
implements ReferenceInsertionEventHandler
Velocity reference insertion event handler that when triggered,
will try to resolve the reference against system properties or
environment variables (in that order) if it could not resolved the normal
way (before returning default value, if one was specified in the reference).
- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreferenceInsert(Context context, String reference, Object value)
-
Constructor Details
-
ExtendedReferenceInsertionEventHandler
public ExtendedReferenceInsertionEventHandler()
-
-
Method Details
-
referenceInsert
- Specified by:
referenceInsertin interfaceReferenceInsertionEventHandler
-