See: Description
ExtensionGenerator
and obeys the
extension generator lifecycle: initialization, generation, and destruction,
which occurs as follows:
ExtensionConfig
object. Each extension
generator is then placed in an extension generator chain. This chain is
executed prior to the sending of each RRD request by calling the
doGenerate
method on each extension generator in sequence.
Each extension generator, with the assistance of the provided ExtensionGeneratorRequest
object, is
then expected to attach an instance of an EMF object to either the header,
body, or header and body of the outbound RRD request. Afterwards, each
extension generator is responsible for executing the next portion of the
extension generator chain.
ExtensionGeneratorResponse
instance.
After this (optional) processing has occurred, the extension generator
chain execution is completed until another RRD request is created.
destroy
method. At this point,
any persistent resources associated with the extension generator should be
released.