com.sun.xml.registry.uddi
Class DeclarativeQueryManagerImpl

java.lang.Object
  extended by com.sun.xml.registry.uddi.QueryManagerImpl
      extended by com.sun.xml.registry.uddi.DeclarativeQueryManagerImpl
All Implemented Interfaces:
QueryManager

public class DeclarativeQueryManagerImpl
extends QueryManagerImpl

This interface provides the ability to execute declarative queries (e.g. SQL)

Author:
Farrukh S. Najmi

Constructor Summary
DeclarativeQueryManagerImpl()
           
 
Method Summary
 Query createQuery(int queryType, String queryString)
          Creates a Query object given a queryType (e.g.
 BulkResponse executeQuery(Query query)
          Execute a query as specified by query paramater.
 
Methods inherited from class com.sun.xml.registry.uddi.QueryManagerImpl
getRegistryObject, getRegistryObject, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryObjects, getRegistryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclarativeQueryManagerImpl

public DeclarativeQueryManagerImpl()
Method Detail

createQuery

public Query createQuery(int queryType,
                         String queryString)
                  throws InvalidRequestException,
                         JAXRException
Creates a Query object given a queryType (e.g. SQL) and a String that represents a query in the syntax appropriate for queryType. Must throw and InvalidRequestException if the sqlQuery is not valid.

Capability Level: 1

Throws:
InvalidRequestException
JAXRException
See Also:
Query.QUERY_TYPE_SQL, Query.QUERY_TYPE_XQUERY

executeQuery

public BulkResponse executeQuery(Query query)
                          throws JAXRException
Execute a query as specified by query paramater.

Capability Level: 1

Throws:
JAXRException


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.