org.ow2.wildcat.osgi.api
Interface IQueryAdder


public interface IQueryAdder

Service providing an event query and an associated listener.

Author:
Loris Bouzonnet

Method Summary
 net.esper.client.UpdateListener getListener()
           
 java.lang.String getQuery()
           
 Query registerListener(Context context)
          Add a query and an associated listener to the given context.
 

Method Detail

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

net.esper.client.UpdateListener getListener()
Returns:
a listener


Copyright © 2008 OW2 Consortium. All Rights Reserved.