org.specrunner.hibernate3
Class AbstractPluginFactory
java.lang.Object
org.specrunner.parameters.core.ParameterHolder
org.specrunner.plugins.core.AbstractPlugin
org.specrunner.plugins.core.AbstractPluginNamed
org.specrunner.plugins.core.AbstractPluginScoped
org.specrunner.plugins.core.AbstractPluginValue
org.specrunner.hibernate3.AbstractPluginFactory
- All Implemented Interfaces:
- IParameterHolder, IActionType, IParalelPlugin, IPlugin, ISleepPlugin, ITestPlugin, ITimedPlugin, IWaitPlugin
- Direct Known Subclasses:
- PluginConfiguration, PluginSessionFactory
public abstract class AbstractPluginFactory
- extends AbstractPluginValue
Common part of plugins with Spring like factory methods.
- Author:
- Thiago Santos
| Methods inherited from class org.specrunner.plugins.core.AbstractPlugin |
copy, doEnd, doStart, 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, toString |
type
protected String type
- The provider class name.
factory
protected String factory
- The factory class.
method
protected String method
- The method name in object factory.
AbstractPluginFactory
public AbstractPluginFactory()
getActionType
public ActionType getActionType()
getType
public String getType()
- Get the session factory provider class name.
- Returns:
- The session factory provider class name.
setType
public void setType(String type)
- Set the session factory provider.
- Parameters:
type - The factory type.
getFactory
public String getFactory()
- Get the session factory factory class.
- Returns:
- The object factory.
setFactory
public void setFactory(String factory)
- Set session factory object factory.
- Parameters:
factory - The object factory name.
getMethod
public String getMethod()
- Get the static method of object factory.
- Returns:
- The creator method.
setMethod
public void setMethod(String method)
- Set the method of a factory.
- Parameters:
method - The factory method.
Copyright © 2016. All rights reserved.