1 package org.smartcomps.twister.engine.priv.core.definition.impl;
2
3 import org.smartcomps.twister.engine.priv.core.definition.BasicActivity;
4 import org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext;
5 import org.smartcomps.twister.engine.exception.EngineException;
6
7 import java.util.Map;
8
9 /***
10 * Persistent implementation of the BasicActivity interface.
11 * @see org.smartcomps.twister.engine.priv.core.definition.BasicActivity
12 * @hibernate.class table="ACT_BASIC"
13 * @hibernate.subclass discriminator-value="BACT"
14 */
15 public abstract class BasicActivityImpl extends ActivityImpl implements BasicActivity {
16
17 public ExecutionContext execute(String correlationSetName, Map correlation) throws EngineException {
18 ExecutionContext ec = createContextTree(correlationSetName, correlation);
19 ec.execute();
20 return ec;
21 }
22
23 }
This page was automatically generated by Maven