[ https://issues.apache.org/activemq/browse/SM-596?page=all ]

Guillaume Nodet resolved SM-596.
--------------------------------

    Fix Version/s: 3.1
       Resolution: Fixed
         Assignee: Guillaume Nodet

Author: gnodet
Date: Mon Sep 25 01:02:25 2006
New Revision: 449597

URL: http://svn.apache.org/viewvc?view=rev&rev=449597
Log:
SM-596: add throws DeploymentException to getServices() in AbstractXBeanDeployer

Modified:
   
incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java


> add throws DeploymentException to getServices() in AbstractXBeanDeployer
> ------------------------------------------------------------------------
>
>                 Key: SM-596
>                 URL: https://issues.apache.org/activemq/browse/SM-596
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-common
>    Affects Versions: 3.0
>            Reporter: Raffaele Spazzoli
>         Assigned To: Guillaume Nodet
>             Fix For: 3.1
>
>
> I have a binding component that may create multiple endpoint starting from a
> single service unit. I use the AbstractXBeanDeployer to ease the reading of 
> the
> service unit configuration.
> The number of endpoint is determined in the getServices method which can be
> overridden. The problem is that my getServices method is quite complicated and
> the code inside it may rise differnt type of exception wich I can't handel and
> which should make the deployment fail. To resolve the problem it would be
> enough to change the method signatire from
> protected List getServices(Kernel kernel)
> to
> protected List getServices(Kernel kernel) throws DeploymentException

-- 
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