servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r465710 - in /incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common: DefaultComponent.java Endpoint.java
Date Thu, 19 Oct 2006 18:09:56 GMT
Author: gnodet
Date: Thu Oct 19 11:09:55 2006
New Revision: 465710

URL: http://svn.apache.org/viewvc?view=rev&rev=465710
Log:
Fix typo and set the logger on the endpoint at construction time when a ServiceUnit is given

Modified:
    incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
    incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java

Modified: incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java?view=diff&rev=465710&r1=465709&r2=465710
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
(original)
+++ incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
Thu Oct 19 11:09:55 2006
@@ -215,7 +215,7 @@
     protected abstract Class[] getEndpointClasses();
 
     /**
-     * A little helper method to turn a possibly null list of endpoitns into a list of endpoints
+     * A little helper method to turn a possibly null list of endpoints into a list of endpoints
      */
     protected List asList(Endpoint[] endpoints) {
         if (endpoints == null) {

Modified: incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java?view=diff&rev=465710&r1=465709&r2=465710
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java
(original)
+++ incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java
Thu Oct 19 11:09:55 2006
@@ -40,6 +40,7 @@
     
     public Endpoint(ServiceUnit serviceUnit, QName service, String endpoint) {
         this.serviceUnit = serviceUnit;
+        this.logger = serviceUnit.getComponent().getLogger();
         this.service = service;
         this.endpoint = endpoint;
     }



Mime
View raw message