repast.simphony.scenario
Class DefaultActionLoader<T extends ControllerAction>
java.lang.Object
repast.simphony.scenario.AbstractActionLoader
repast.simphony.scenario.ObjectActionLoader<T>
repast.simphony.scenario.DefaultActionLoader<T>
- All Implemented Interfaces:
- ActionLoader
public class DefaultActionLoader<T extends ControllerAction>
- extends ObjectActionLoader<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultActionLoader
public DefaultActionLoader(File file,
Object contextID,
Class<T> actionClass,
String actionRoot)
prepare
protected void prepare(com.thoughtworks.xstream.XStream xstream)
- Override this method if you need to prepare the XStream before using it.
- Overrides:
prepare in class ObjectActionLoader<T extends ControllerAction>
- Parameters:
xstream - the XStream that will be used for reading in the descriptor
createAction
protected ControllerAction createAction(T data)
- Specified by:
createAction in class ObjectActionLoader<T extends ControllerAction>
getClassLoader
protected ClassLoader getClassLoader()
- Specified by:
getClassLoader in class ObjectActionLoader<T extends ControllerAction>