public class PluginBean extends AbstractPluginNamed
| Modifier and Type | Field and Description |
|---|---|
protected Object |
bean
Bean instance.
|
static String |
BEAN_NAME
The bean object name on context.
|
nameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
PluginBean() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
create(String type,
List<Exception> errors)
Try to create the object instance.
|
ENext |
doStart(IContext context,
IResultSet result)
Performs the start action.
|
ActionType |
getActionType()
Get the plugin type.
|
Object |
getBean()
The plugin bean.
|
static Object |
getBean(IContext context)
Get the current bean object.
|
void |
setBean(Object bean)
Set the bean object.
|
getName, setNamecopy, doEnd, getCondition, getConditionModel, getNormalized, getNormalized, getNormalizer, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, initialize, setCondition, setConditionModel, setNormalized, setNormalizer, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toStringgetParameters, setParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, setParameterspublic static final String BEAN_NAME
protected Object bean
public ActionType getActionType()
IActionTypepublic Object getBean()
public void setBean(Object bean)
bean - The bean object.public ENext doStart(IContext context, IResultSet result) throws PluginException
IPlugindoStart in interface IPlugindoStart in class AbstractPlugincontext - The context.result - The result set.PluginException - On execution errors.protected Object create(String type, List<Exception> errors)
type - The class name (fully qualified).errors - The error list.Copyright © 2016. All rights reserved.