|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a XQuery engine/server from the application point of view.
This object provides direct connections (XQueryConnection), or DataSources which can in turn open connections.
The default implementation class is XQueryBasicEngine. The set up of the actual engine is performed on the implementation, not on this interface.
Method Summary | |
XQueryConnection |
getConnection(java.util.Properties properties)
Opens a new connection without access to an XML Library. |
XQueryConnection |
getConnection(java.lang.String libraryPath,
java.util.Properties properties)
Opens a new connection to a particular XML Library. |
XQueryDataSource |
getDataSource(java.lang.String libraryPath)
Creates a XQueryDataSource |
XQMetadata |
getProductInfo()
Returns an object describing the XQuery Engine (Similar to XQMetaData in the XQJ specification). |
Method Detail |
public XQMetadata getProductInfo() throws java.rmi.RemoteException
java.rmi.RemoteException
public XQueryConnection getConnection(java.util.Properties properties) throws XQueryException, java.rmi.RemoteException
Access to XML Libraries is still possible provided that there is a XMLLibraryServer and access rights are granted.
properties
- a set of named properties for authentification
and configuration purpose. May be null if no authentification enforced.
XQueryException
java.rmi.RemoteException
public XQueryConnection getConnection(java.lang.String libraryPath, java.util.Properties properties) throws XQueryException, java.rmi.RemoteException
This Library becomes the default one. Access to other Libraries controlled by the same XMLLibraryServer is possible if access rights are granted.
XQueryException
java.rmi.RemoteException
public XQueryDataSource getDataSource(java.lang.String libraryPath) throws XQueryException, java.rmi.RemoteException
XQueryException
java.rmi.RemoteException
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |