org.apache.ws.scout.registry
Class ConnectionImpl

java.lang.Object
  extended by org.apache.ws.scout.registry.ConnectionImpl
All Implemented Interfaces:
java.io.Serializable, javax.xml.registry.Connection

public class ConnectionImpl
extends java.lang.Object
implements javax.xml.registry.Connection, java.io.Serializable

Apache Scout Implementation of a JAXR Connection. For futher details, look into the JAXR API Javadoc.

Author:
Anil Saldhana
See Also:
Serialized Form

Constructor Summary
ConnectionImpl(java.net.URL queryManagerURL, java.net.URL lifeCycleManagerURL, java.lang.String postalScheme, int maxRows)
           
 
Method Summary
 void close()
           
 java.util.Set getCredentials()
           
 javax.xml.registry.RegistryService getRegistryService()
           
 boolean isClosed()
           
 boolean isSynchronous()
           
 void setCredentials(java.util.Set credentials)
           
 void setSynchronous(boolean synchronous)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionImpl

public ConnectionImpl(java.net.URL queryManagerURL,
                      java.net.URL lifeCycleManagerURL,
                      java.lang.String postalScheme,
                      int maxRows)
Method Detail

getRegistryService

public javax.xml.registry.RegistryService getRegistryService()
                                                      throws javax.xml.registry.JAXRException
Specified by:
getRegistryService in interface javax.xml.registry.Connection
Throws:
javax.xml.registry.JAXRException

close

public void close()
Specified by:
close in interface javax.xml.registry.Connection

isClosed

public boolean isClosed()
Specified by:
isClosed in interface javax.xml.registry.Connection

getCredentials

public java.util.Set getCredentials()
Specified by:
getCredentials in interface javax.xml.registry.Connection

setCredentials

public void setCredentials(java.util.Set credentials)
Specified by:
setCredentials in interface javax.xml.registry.Connection

isSynchronous

public boolean isSynchronous()
Specified by:
isSynchronous in interface javax.xml.registry.Connection

setSynchronous

public void setSynchronous(boolean synchronous)
Specified by:
setSynchronous in interface javax.xml.registry.Connection