geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r582109 - /geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
Date Fri, 05 Oct 2007 07:51:43 GMT
Author: jdillon
Date: Fri Oct  5 00:51:42 2007
New Revision: 582109

URL: http://svn.apache.org/viewvc?rev=582109&view=rev
Log:
Drop unused bits from previous refactor

Modified:
    geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java?rev=582109&r1=582108&r2=582109&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
Fri Oct  5 00:51:42 2007
@@ -19,20 +19,16 @@
 
 package org.apache.geronimo.gshell;
 
-import java.util.UUID;
-
 import org.apache.geronimo.gshell.command.Command;
 import org.apache.geronimo.gshell.command.CommandContext;
 import org.apache.geronimo.gshell.command.CommandExecutor;
 import org.apache.geronimo.gshell.command.CommandNotFoundException;
 import org.apache.geronimo.gshell.command.IO;
 import org.apache.geronimo.gshell.command.Variables;
-import org.apache.geronimo.gshell.command.descriptor.CommandDescriptor;
 import org.apache.geronimo.gshell.common.Arguments;
 import org.apache.geronimo.gshell.common.StopWatch;
 import org.apache.geronimo.gshell.layout.LayoutManager;
 import org.apache.geronimo.gshell.shell.Environment;
-import org.codehaus.plexus.PlexusContainer;
 import org.codehaus.plexus.component.annotations.Component;
 import org.codehaus.plexus.component.annotations.Requirement;
 import org.slf4j.Logger;
@@ -50,9 +46,6 @@
     private Logger log = LoggerFactory.getLogger(getClass());
 
     @Requirement
-    private PlexusContainer container;
-
-    @Requirement
     private LayoutManager layoutManager;
 
     @Requirement
@@ -108,11 +101,6 @@
         if (command == null) {
             throw new CommandNotFoundException(path);
         }
-
-        // Create a new child container for the invocation and lookup the command instance
-        String realmId = "gshell:" + UUID.randomUUID();
-
-        log.debug("Child container realm: {}", realmId);
 
         // Setup the command context and pass it to the command instance
         CommandContext context = new CommandContext() {



Mime
View raw message