org.ow2.wildcat.osgi.api
Interface IQueryAdder
public interface IQueryAdder
Service providing an event query and an associated listener.
- Author:
- Loris Bouzonnet
registerListener
Query registerListener(Context context)
throws ListenerRegistrationException
- Add a query and an associated listener to the given context.
- Parameters:
context - a context
- Returns:
- the added query
- Throws:
ListenerRegistrationException - if the registration failed
getQuery
java.lang.String getQuery()
- Returns:
- an event query
getListener
com.espertech.esper.client.UpdateListener getListener()
- Returns:
- a listener
Copyright © 2009 OW2 Consortium. All Rights Reserved.