5 Replies Latest reply on Sep 10, 2014 4:05 AM by synclpz

    SwitchYard Bean Setup/Teardown

    Arnsten Egeland Newbie

      Is there a way to do initialization/teardown for SwitchYard bean (class decorated with @org.switchyard.component.bean.Service) ?

       

      An analogy I guess would be OSGi Declarative Service activate/deactivate methods (See: OSGi Service Platform Service Compendium 4.3 - Section 112.14.3 @Activate and Section 112.14.6 @Deactivate ).

       

      The initialization would be executed after objects of class have been constructed, references injected and implementation properties (@Property) set, but before the object is actually used.