Qizx/open API

net.axyana.qizxopen.xquery
Interface XQueryDataSource

All Superinterfaces:
java.rmi.Remote

public interface XQueryDataSource
extends java.rmi.Remote

Factory for XQuery Connections. A Connection is obtained by simply calling getConnection().

The XQueryDataSource interface is the approach to obtaining XQuery connections without the need to know details unrelevant to applications, thus enhancing application portability. For example a logical XML repository name can be mapped to a XQueryDataSource through JNDI.


Method Summary
 XQueryConnection getConnection()
          Obtains a Connection without authentification.
 java.lang.String getProperty(java.lang.String name)
          Obtain a property set by setProperty.
 java.lang.String[] getSupportedPropertyNames()
          Returns an array of the names of supported properties.
 void setProperty(java.lang.String name, java.lang.String value)
          Define properties used to configure the created connection.
 

Method Detail

getConnection

public XQueryConnection getConnection()
                               throws XQueryException,
                                      java.rmi.RemoteException
Obtains a Connection without authentification.

Throws:
XQueryException
java.rmi.RemoteException

getProperty

public java.lang.String getProperty(java.lang.String name)
Obtain a property set by setProperty. Such properties are used to configure the created connection.


setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
Define properties used to configure the created connection.


getSupportedPropertyNames

public java.lang.String[] getSupportedPropertyNames()
Returns an array of the names of supported properties.


© 2005 Axyana Software