1 Reply Latest reply on Apr 2, 2011 7:50 PM by Leo van den berg

    Conditional component installation

    Mark Wigmans Newbie

      I like to install a component conditionally. I prefer something that the component is installed when a definition appears in 'components.xml'. The components looks like:

      public class XService {
      private static Log log;
      public void create() {
      @Observer(value = TransactionService.EVENT_TRANSACTION_ADDED, create = false)
      public void event(Transaction transaction) {

      The purpose of this component is to process the observed transaction in a particular configuration. So, how to create this component only in particular cases?