On Fri, Jan 20, 2012 at 9:54 AM, Millies, Sebastian < [email protected]> wrote:
> Hello there, > > > > in Tuscany 1.6, when a component cannot be initialized because the @Init() > > method encounters an exception, it can be desirable to stop the component > > altogether, so that no requests may be made of it. > > > > Is there a Tuscany configuration option or a an API that can do that? I’d > rather > > disable only the faulty component than call System.exit()… > > > > n Sebastian > > IDS Scheer Consulting GmbH > Geschäftsführer/Managing Directors: Kamyar Niroumand, Ivo Totev > Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, > Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 > *http://www.softwareag.com* <http://www.softwareag.com> > Hi Sebastien Not as far as I know. You'd have to comment the component description out in the composite file. Regards Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
