5 Replies Latest reply on Jun 7, 2012 9:43 AM by mageshbk

    Component interface has init and destroy methods that don't appear to be used

    objectiser

      The org.switchyard.deploy.Component interface has init(Configuration) and destroy() methods which implies that it has a lifecycle. However these methods don't appear to be used.

       

      This means that the BaseComponent has an empty Configuration object that does not get overridden.

       

      The problem is that for https://issues.jboss.org/browse/SWITCHYARD-716 I need to have these lifecycle hooks.

       

      Any suggestions? Or have I missed something.

       

      Regards

      Gary