ExecContextPluginInterface - ExecContextPlugin sub-interface to be
returned by the ExecContextPluginFactory.public interface ExecContextPluginFactory<ExecContextPluginInterface extends ExecContextPlugin>
ExecContextPlugin.
The factory design pattern is used here to allow various ExecContextPlugin implementations, although it is expected that in most cases the default ExecContextPlugin implementations provided by ExecContextPluginHolder from dragom-core will be adequate.
| Modifier and Type | Method and Description |
|---|---|
ExecContextPluginInterface |
getExecContextPlugin(ExecContext execContext)
Returns an instance of the
ExecContextPlugin. |
ExecContextPluginInterface getExecContextPlugin(ExecContext execContext)
ExecContextPlugin.
ExecContextPlugin's can hold on to the ExecContext the is passed as a
parameter as it is garanteed that the same ExecContext will remain used
throughout the life of the ExecContextPlugin. But in general,
ExecContextHolder.get from dragom-core should be used to obtain the ExecContext
at runtime.
execContext - ExecContext in the context of which the ExecContextPlugin is
created.Copyright © 2015–2017 AZYVA INC.. All rights reserved.