Initialization for extension which will initialise access to the extension repository where selectors
will be configured. Note that we need to do the messing around with intialization synchronization due
to two issues:
1. The initialization method can be called multiple times during a node startup.
2. The retrieval of the Extensions cache template would recursively trigger this logic, so we
need to avoid synchronizing in a recursive call to avoid deadlock.
The approach below satisfies both these problems, although should be considered a workaround for now.
execute
public Result execute(Input input,
java.lang.String id,
java.lang.String type)
Parameters:
input - the rating context
id - the internal id (internal pricing ID for charge selector or alteration selector)
type - type is CHARGE if called from a Charge RPS and ALTERATION if called from a Alteration RPS
Returns:
result - the value of the evaluation (the internal Id of the rate-plan) or null if no match.