servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r482843 - /incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/task/JbiTask.java
Date Wed, 06 Dec 2006 00:25:59 GMT
Author: gnodet
Date: Tue Dec  5 16:25:58 2006
New Revision: 482843

URL: http://svn.apache.org/viewvc?view=rev&rev=482843
Log:
Remove unneeded imports and methods

Modified:
    incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/task/JbiTask.java

Modified: incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/task/JbiTask.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/task/JbiTask.java?view=diff&rev=482843&r1=482842&r2=482843
==============================================================================
--- incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/task/JbiTask.java
(original)
+++ incubator/servicemix/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/task/JbiTask.java
Tue Dec  5 16:25:58 2006
@@ -21,7 +21,6 @@
 import java.util.HashMap;
 import java.util.Map;
 
-import javax.jbi.management.DeploymentServiceMBean;
 import javax.management.MBeanServerInvocationHandler;
 import javax.management.ObjectName;
 import javax.management.remote.JMXConnector;
@@ -30,7 +29,6 @@
 
 import org.apache.servicemix.jbi.container.JBIContainer;
 import org.apache.servicemix.jbi.framework.AdminCommandsServiceMBean;
-import org.apache.servicemix.jbi.framework.DeploymentService;
 import org.apache.servicemix.jbi.management.ManagementContext;
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Project;
@@ -125,19 +123,6 @@
         return (AdminCommandsServiceMBean) MBeanServerInvocationHandler.newProxyInstance(jmxConnector.getMBeanServerConnection(),
objectName,
                 AdminCommandsServiceMBean.class, true);
     }
-    
-    /**
-     * Get the DeploymentServiceMBean 
-     * @return the deployment service mbean
-     * @throws IOException
-     */
-    public DeploymentServiceMBean getDeploymentService() throws IOException{
-        ObjectName objectName = getObjectName(DeploymentService.class);
-        
-        return (DeploymentServiceMBean) MBeanServerInvocationHandler.newProxyInstance(jmxConnector.getMBeanServerConnection(),
objectName,
-                DeploymentServiceMBean.class, true);
-    }
-    
     
     /**
      * @return Returns the containerName.



Mime
View raw message