Author: gnodet
Date: Fri Sep  1 08:40:15 2006
New Revision: 439355

URL: http://svn.apache.org/viewvc?rev=439355&view=rev
Log:
Remove commons-logging dep in the bootstrap, as the classloader does not 
contain it

Modified:
    
incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java

Modified: 
incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java?rev=439355&r1=439354&r2=439355&view=diff
==============================================================================
--- 
incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java
 (original)
+++ 
incubator/servicemix/trunk/tooling/servicemix-service-engine/src/main/resources/archetype-resources/src/main/java/MyBootstrap.java
 Fri Sep  1 08:40:15 2006
@@ -1,8 +1,5 @@
 package ${packageName};
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
 import javax.jbi.JBIException;
 import javax.jbi.component.Bootstrap;
 import javax.jbi.component.InstallationContext;
@@ -16,8 +13,6 @@
 public class MyBootstrap implements Bootstrap
 {
 
-    protected final transient Log logger = LogFactory.getLog(getClass());
-    
     protected InstallationContext context;
     protected ObjectName mbeanName;
     
@@ -41,14 +36,8 @@
      */
     public void init(InstallationContext installContext) throws JBIException {
         try {
-            if (logger.isDebugEnabled()) {
-                logger.debug("Initializing bootstrap");
-            }
             this.context = installContext;
             doInit();
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap initialized");
-            }
         } catch (JBIException e) {
             throw e;
         } catch (Exception e) {
@@ -76,13 +65,7 @@
      */
     public void cleanUp() throws JBIException {
         try {
-            if (logger.isDebugEnabled()) {
-                logger.debug("Cleaning up bootstrap");
-            }
             doCleanUp();
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap cleaned up");
-            }
         } catch (JBIException e) {
             throw e;
         } catch (Exception e) {
@@ -107,13 +90,7 @@
      */
     public void onInstall() throws JBIException {
         try {
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap onInstall");
-            }
             doOnInstall();
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap onInstall done");
-            }
         } catch (JBIException e) {
             throw e;
         } catch (Exception e) {
@@ -129,13 +106,7 @@
      */
     public void onUninstall() throws JBIException {
         try {
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap onUninstall");
-            }
             doOnUninstall();
-            if (logger.isDebugEnabled()) {
-                logger.debug("Bootstrap onUninstall done");
-            }
         } catch (JBIException e) {
             throw e;
         } catch (Exception e) {


Reply via email to