[ 
https://issues.apache.org/activemq/browse/SM-569?page=comments#action_37065 ] 
            
Guillaume Nodet commented on SM-569:
------------------------------------

Author: jstrachan
Date: Mon Oct  2 08:10:58 2006
New Revision: 452064

URL: http://svn.apache.org/viewvc?view=rev&rev=452064
Log:
minor refactor introducing ServiceMixComponent to be the API offered by 
ServiceMix-enhanced JBI components. Added a new base class, DefaultComponent 
which merges the Component and Lifecycle APIs together into one simple API 
which also supports configuring a collection of Endpoints on startup along with 
the associated ServiceUnit. So now a well behaved component only has to extend 
DefaultComponent and provide an Endpoint implementation

Added:
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/DefaultComponent.java
   (with props)
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/ServiceMixComponent.java
   (with props)
Modified:
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/AbstractDeployer.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/AsyncBaseLifeCycle.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseComponent.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseLifeCycle.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/BaseServiceUnitManager.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/Endpoint.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/Registry.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/ServiceUnit.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/BaseXBeanDeployer.java
   
incubator/servicemix/trunk/servicemix-saxon/src/main/java/org/apache/servicemix/saxon/SaxonComponent.java



> Refactor servicemix-common for ease of use
> ------------------------------------------
>
>                 Key: SM-569
>                 URL: https://issues.apache.org/activemq/browse/SM-569
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-common
>            Reporter: Guillaume Nodet
>             Fix For: 3.1
>
>
> See 
> http://www.nabble.com/Refactoring-code-to-reduce-the-amount-of-code-required-to-write-full-JBI-components-tf2144715.html#a5920775

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to