xmlBlaster 2.2.0 API

org.xmlBlaster.engine.query
Interface I_Query

All Known Implementing Classes:
QueueQueryPlugin

public interface I_Query

I_Query the interface to implement for all plugins which are doing a query.

Author:
Michele Laghi

Method Summary
 MsgUnit[] query(java.lang.Object source, java.lang.String query)
          Makes a query to the specified source object.
 

Method Detail

query

MsgUnit[] query(java.lang.Object source,
                java.lang.String query)
                throws XmlBlasterException
Makes a query to the specified source object.

Parameters:
source - the object on which to submit the query.
query - the qos of the query, i.e. what has to be queried. Can be null (implementation can restrict that)
Returns:
a MsgUnit[] containing all entries which match the query
Throws:
XmlBlasterException - if something is wrong in the query (for example if the type of the object specified as the source is wrong)

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.