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
  Constructor
  Description
  `ExtendedReferenceInsertionEventHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `referenceInsert(Context context, String reference, Object value)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ExtendedReferenceInsertionEventHandler

    public ExtendedReferenceInsertionEventHandler()

- ## Method Details

  - ### referenceInsert

    public Object referenceInsert(Context context, String reference, Object value)
    Specified by:
      `referenceInsert` in interface `ReferenceInsertionEventHandler`