本文整理了Java中org.jbundle.model.Task.run()
方法的一些代码示例,展示了Task.run()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Task.run()
方法的具体详情如下:
包路径:org.jbundle.model.Task
类名称:Task
方法名:run
暂无
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Init Method.
*/
public void init(Object env, Map<String,Object> properties, JApplet applet)
{
super.init(env, properties, applet);
//?if (this.registerUniqueApplication(null, null) != Constants.NORMAL_RETURN)
{
//? this.free(); // Don't start this application (It's already running somewhere)
//? return;
}
if (DBConstants.TRUE.equalsIgnoreCase(this.getProperty(DBParams.JMSSERVER)))
{
Map<String,Object> propProcess = new Hashtable<String,Object>();
propProcess.put(DBParams.PROCESS, MessageInitialProcess.class.getName());
Task task = new ProcessRunnerTask(this, null, propProcess);
task.run(); // Don't run this async (for now).
}
}
代码示例来源:origin: org.jbundle.thin.base/org.jbundle.thin.base.thread
if (task.getApplication() == null) // init()ed yet?
task.initTask(this.getApplication(), null); // No, Initialize it
task.run();
((Task)job).run();
内容来源于网络,如有侵权,请联系作者删除!