geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject cvs commit: incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/admin/deployment ManagedServer.java
Date Wed, 02 Jun 2004 11:27:59 GMT
gdamour     2004/06/02 04:27:59

  Modified:    sandbox/messaging/src/java/org/apache/geronimo/messaging/admin/deployment
                        ManagedServer.java
  Log:
  Removes the cast to Kernel as the CommandSupports take now
  as parameter a KernelMBean.
  
  Revision  Changes    Path
  1.4       +3 -6      incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/admin/deployment/ManagedServer.java
  
  Index: ManagedServer.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/admin/deployment/ManagedServer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ManagedServer.java	1 Jun 2004 12:41:33 -0000	1.3
  +++ ManagedServer.java	2 Jun 2004 11:27:59 -0000	1.4
  @@ -40,7 +40,6 @@
   import org.apache.geronimo.deployment.plugin.local.StartCommand;
   import org.apache.geronimo.deployment.plugin.local.StopCommand;
   import org.apache.geronimo.gbean.WaitingException;
  -import org.apache.geronimo.kernel.Kernel;
   import org.apache.geronimo.kernel.KernelMBean;
   import org.apache.geronimo.kernel.config.ConfigurationStore;
   import org.apache.geronimo.messaging.AbstractEndPoint;
  @@ -74,7 +73,7 @@
   
       private final Target target;
       private final ConfigurationStore store;
  -    private final Kernel kernel;
  +    private final KernelMBean kernel;
       
       private final ReplacerResolver replacerResolver;
       
  @@ -97,9 +96,7 @@
           
           target = new TargetImpl(aNode.getNodeInfo().getName(), null);
           store = aStore;
  -        // TODO why the various CommandSupports take as parameter a Kernel?
  -        // Should be a KernelMBean
  -        kernel = (Kernel) aKernel;
  +        kernel = aKernel;
           
           replacerResolver = new DeploymentReplacerResolver();
       }
  
  
  

Mime
View raw message