Bundle-Name: Core
Bundle-SymbolicName: org.argeo.slc.client.core
Bundle-Version: 1.0.0.qualifier
Bundle-Name: Core
Bundle-SymbolicName: org.argeo.slc.client.core
Bundle-Version: 1.0.0.qualifier
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: com.springsource.org.hibernate;resolution:=optional
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.argeo.slc.client.core
Import-Package: org.apache.commons.io;version="1.4.0",
org.apache.commons.logging;version="1.1.1",
org.argeo.slc.dao.process,
Export-Package: org.argeo.slc.client.core
Import-Package: org.apache.commons.io;version="1.4.0",
org.apache.commons.logging;version="1.1.1",
org.argeo.slc.dao.process,
- org.argeo.slc.process,
- org.hibernate.hql.ast,
- org.hibernate.jdbc,
- org.osgi.framework;version="1.3.0"
package org.argeo.slc.client.core;
package org.argeo.slc.client.core;
+import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Iterator;
import java.util.List;
private static final Log log = LogFactory
.getLog(ProcessListTableContent.class);
private static final Log log = LogFactory
.getLog(ProcessListTableContent.class);
- private List<SlcExecution> slcExecutions;
+ private List<SlcExecution> slcExecutions = new ArrayList<SlcExecution>();
// IoC
private SlcExecutionDao slcExecutionDao;
// IoC
private SlcExecutionDao slcExecutionDao;
- public String getLabel(Object o, int i) {
- // TODO Auto-generated method stub
+ public synchronized String getLabel(Object o, int i) {
+ SlcExecution se = (SlcExecution) o;
+ switch (i) {
+
+ case 0:
+ return "DATE";
+ case 1:
+ return se.getHost();
+ case 2:
+ return se.getUuid();
+ case 3:
+ return "TYPE";
+ }
- public List<SlcExecution> getContent() {
+ public synchronized List<SlcExecution> getContent() {
return this.slcExecutions;
}
return this.slcExecutions;
}
- public void setContent() {
+ public synchronized void setContent() {
+ // Thread.currentThread().setContextClassLoader(null);
List<SlcExecution> lst = slcExecutionDao.listSlcExecutions();
if (lst.get(0) != null) {
List<SlcExecution> lst = slcExecutionDao.listSlcExecutions();
if (lst.get(0) != null) {
- log.debug(lst.get(0).getStartDate());
+ // log.debug(lst.get(0).getStartDate());
log.debug(lst.get(0).getHost());
log.debug(lst.get(0).getStatus());
log.debug(lst.get(0).getUuid());
}
log.debug(lst.get(0).getHost());
log.debug(lst.get(0).getStatus());
log.debug(lst.get(0).getUuid());
}
- Iterator<SlcExecution> it = slcExecutions.iterator();
+
+ slcExecutions.clear();
+ Iterator<SlcExecution> it = lst.iterator();
while (it.hasNext()) {
slcExecutions.add(it.next());
}
while (it.hasNext()) {
slcExecutions.add(it.next());
}
Bundle-SymbolicName: org.argeo.slc.client.hibernate
Bundle-Version: 1.0.0.qualifier
Import-Package: org.argeo.slc.client.core,
Bundle-SymbolicName: org.argeo.slc.client.hibernate
Bundle-Version: 1.0.0.qualifier
Import-Package: org.argeo.slc.client.core,
- org.argeo.slc.dao.process;version="0.13.0.SNAPSHOT-r3777",
- org.hibernate.hql.ast,
- org.hibernate.jdbc
-
+ org.argeo.slc.dao.process;version="0.13.0.SNAPSHOT-r3777"
\r
<!-- References Needed -->\r
<reference id="slcExecutionDao" interface="org.argeo.slc.dao.process.SlcExecutionDao"\r
\r
<!-- References Needed -->\r
<reference id="slcExecutionDao" interface="org.argeo.slc.dao.process.SlcExecutionDao"\r
- context-class-loader="service-provider" />\r
+ context-class-loader="service-provider" />\r
\r
<!-- Services exposed by the bundle -->\r
<service ref="processListTableContent" interface="org.argeo.slc.client.core.TableContent" />\r
\r
<!-- Services exposed by the bundle -->\r
<service ref="processListTableContent" interface="org.argeo.slc.client.core.TableContent" />\r
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.argeo.slc.client.ui.ClientUiPlugin
Require-Bundle: org.eclipse.ui;resolution:=optional,
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.argeo.slc.client.ui.ClientUiPlugin
Require-Bundle: org.eclipse.ui;resolution:=optional,
- org.eclipse.core.runtime;resolution:=optional,
- com.springsource.org.hibernate;resolution:=optional,
- org.argeo.slc.specs
+ org.eclipse.core.runtime;resolution:=optional
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.argeo.slc.client.ui,
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.argeo.slc.client.ui,
org.apache.commons.logging;version="1.1.1",
org.argeo.eclipse.spring,
org.argeo.eclipse.ui,
org.apache.commons.logging;version="1.1.1",
org.argeo.eclipse.spring,
org.argeo.eclipse.ui,
org.argeo.slc.build;version="0.13.0.SNAPSHOT-r3685",
org.argeo.slc.client.core,
org.argeo.slc.core.attachment,
org.argeo.slc.build;version="0.13.0.SNAPSHOT-r3685",
org.argeo.slc.client.core,
org.argeo.slc.core.attachment,
org.argeo.slc.services;version="0.13.0.SNAPSHOT-r3773",
org.argeo.slc.services.impl;version="0.13.0.SNAPSHOT-r3777",
org.argeo.slc.test,
org.argeo.slc.services;version="0.13.0.SNAPSHOT-r3773",
org.argeo.slc.services.impl;version="0.13.0.SNAPSHOT-r3777",
org.argeo.slc.test,
- org.hibernate.hql.ast,
- org.hibernate.jdbc,
org.springframework.beans.factory,
org.springframework.context,
org.springframework.core.io.support
org.springframework.beans.factory,
org.springframework.context,
org.springframework.core.io.support
\r
<!-- DAO -->\r
<reference id="testResultCollectionDao"\r
\r
<!-- DAO -->\r
<reference id="testResultCollectionDao"\r
- interface="org.argeo.slc.dao.test.tree.TreeTestResultCollectionDao" />\r
- \r
+ interface="org.argeo.slc.dao.test.tree.TreeTestResultCollectionDao"\r
+ context-class-loader="service-provider" />\r
+\r
<!-- Services -->\r
<reference id="slcExecutionService" interface="org.argeo.slc.services.SlcExecutionService" />\r
<reference id="testManagerService" interface="org.argeo.slc.services.TestManagerService" />\r
<!-- Services -->\r
<reference id="slcExecutionService" interface="org.argeo.slc.services.SlcExecutionService" />\r
<reference id="testManagerService" interface="org.argeo.slc.services.TestManagerService" />\r
org.argeo.slc.runtime,
org.argeo.slc.test,
org.hibernate,
org.argeo.slc.runtime,
org.argeo.slc.test,
org.hibernate,
+ org.hibernate.hql.ast,
+ org.hibernate.jdbc,
org.springframework.aop,
org.springframework.aop.framework,
org.springframework.orm.hibernate3,
org.springframework.aop,
org.springframework.aop.framework,
org.springframework.orm.hibernate3,