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