public interface BazaarContextFunction
Policy.Parameters
in a BazaarContext
into a new parameter which is requested by
a Vendor
. Is registered at a Bazaar.addContextFunction(String, BazaarContextFunction)
under a
key. The key matches the parameter, this BazaarContextFunction
can exchange to. A
BazaarContextFunction
holds a method annotated with Exchange
. This method can request arbitrary
parameters present in the BazaarContext
and return the exchanged parameter.Copyright © 2018. All rights reserved.