|
From: <ha...@us...> - 2008-03-26 14:34:47
|
Revision: 1942
http://cogkit.svn.sourceforge.net/cogkit/?rev=1942&view=rev
Author: hategan
Date: 2008-03-26 07:33:22 -0700 (Wed, 26 Mar 2008)
Log Message:
-----------
store the job manager in a field instead of an attribute
Modified Paths:
--------------
trunk/current/src/cog/modules/abstraction-common/src/org/globus/cog/abstraction/impl/common/task/ExecutionServiceImpl.java
Modified: trunk/current/src/cog/modules/abstraction-common/src/org/globus/cog/abstraction/impl/common/task/ExecutionServiceImpl.java
===================================================================
--- trunk/current/src/cog/modules/abstraction-common/src/org/globus/cog/abstraction/impl/common/task/ExecutionServiceImpl.java 2008-03-26 14:32:26 UTC (rev 1941)
+++ trunk/current/src/cog/modules/abstraction-common/src/org/globus/cog/abstraction/impl/common/task/ExecutionServiceImpl.java 2008-03-26 14:33:22 UTC (rev 1942)
@@ -13,6 +13,7 @@
public class ExecutionServiceImpl extends ServiceImpl implements
ExecutionService {
+ private String jobManager;
public ExecutionServiceImpl() {
super(Service.JOB_SUBMISSION);
@@ -26,20 +27,14 @@
public ExecutionServiceImpl(String provider, ServiceContact serviceContact,
SecurityContext securityContext, String jobManager) {
super(provider, Service.JOB_SUBMISSION, serviceContact, securityContext);
- if (jobManager != null) {
- setAttribute("jobmanager", jobManager);
- }
+ this.jobManager = jobManager;
}
public void setJobManager(String jobManager) {
- if (jobManager != null) {
- setAttribute("jobmanager", jobManager);
- }
+ this.jobManager = jobManager;
}
public String getJobManager() {
-
- return (String) getAttribute("jobmanager");
+ return jobManager;
}
-
-}
\ No newline at end of file
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|