Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
WildCAT: A Generic Framework for Context-Aware Applications. Copyright (C) 2008 Bull S.A.S. Copyright (C) 2008 EMN Contact: This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -------------------------------------------------------------------------- $Id: 387 2008-12-17 16:14:01Z barais $ --------------------------------------------------------------------------
package org.ow2.wildcat.osgi.api;
import  com.espertech.esper.client.UpdateListener;

Service providing an event query and an associated listener.

Loris Bouzonnet
public interface IQueryAdder {

Add a query and an associated listener to the given context.

context a context
the added query
ListenerRegistrationException if the registration failed
    Query registerListener(Context contextthrows ListenerRegistrationException;


an event query
    String getQuery();


a listener
    UpdateListener getListener();
New to GrepCode? Check out our FAQ X