You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by bf...@apache.org on 2011/10/10 10:11:14 UTC
svn commit: r1180821 -
/oodt/branches/cas-cl/src/main/java/org/apache/oodt/cas/cl/option/handler/CmdLineOptionHandler.java
Author: bfoster
Date: Mon Oct 10 08:11:14 2011
New Revision: 1180821
URL: http://svn.apache.org/viewvc?rev=1180821&view=rev
Log:
- remove ApplicationContext setter
Modified:
oodt/branches/cas-cl/src/main/java/org/apache/oodt/cas/cl/option/handler/CmdLineOptionHandler.java
Modified: oodt/branches/cas-cl/src/main/java/org/apache/oodt/cas/cl/option/handler/CmdLineOptionHandler.java
URL: http://svn.apache.org/viewvc/oodt/branches/cas-cl/src/main/java/org/apache/oodt/cas/cl/option/handler/CmdLineOptionHandler.java?rev=1180821&r1=1180820&r2=1180821&view=diff
==============================================================================
--- oodt/branches/cas-cl/src/main/java/org/apache/oodt/cas/cl/option/handler/CmdLineOptionHandler.java (original)
+++ oodt/branches/cas-cl/src/main/java/org/apache/oodt/cas/cl/option/handler/CmdLineOptionHandler.java Mon Oct 10 08:11:14 2011
@@ -24,25 +24,12 @@ import java.util.List;
import org.apache.oodt.cas.cl.option.CmdLineOption;
import org.apache.oodt.cas.cl.option.CmdLineOptionInstance;
-//Spring imports
-import org.springframework.context.ApplicationContext;
-
/**
* @author bfoster
* @version $Revision$
*/
public abstract class CmdLineOptionHandler {
- private ApplicationContext appContext;
-
- public void setApplicationContext(ApplicationContext appContext) {
- this.appContext = appContext;
- }
-
- public ApplicationContext getApplicationContext() {
- return appContext;
- }
-
public abstract void handleOption(CmdLineOption option, List<String> values);
public abstract String getCustomOptionHelp(CmdLineOption option);