Developing Apama Applications > Developing Apama Applications in Java > Defining Event Expressions > Defining advanced event expressions > Deactivating a listener
Deactivating a listener
A listener whose event expression embeds an all operator will stay active indefinitely and trigger repeatedly. It will continue doing this until it is explicitly deactivated. This can be done using the removeMatchListener method on the EventExpression object.
Refer to the Apama Java API Reference provided in Javadoc format for complete class and method signatures.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.