org.apache.ws.scout.registry
Class ConnectionImpl

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

public class ConnectionImpl
extends Object
implements Connection, 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(URI queryManagerURI, URI lifeCycleManagerURI, String transportClass, String postalScheme, int maxRows)
           
 
Method Summary
 void close()
           
 Set getCredentials()
           
 RegistryService getRegistryService()
           
 boolean isClosed()
           
 boolean isSynchronous()
           
 void setCredentials(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(URI queryManagerURI,
                      URI lifeCycleManagerURI,
                      String transportClass,
                      String postalScheme,
                      int maxRows)
Method Detail

getRegistryService

public RegistryService getRegistryService()
                                   throws JAXRException
Specified by:
getRegistryService in interface Connection
Throws:
JAXRException

close

public void close()
Specified by:
close in interface Connection

isClosed

public boolean isClosed()
Specified by:
isClosed in interface Connection

getCredentials

public Set getCredentials()
Specified by:
getCredentials in interface Connection

setCredentials

public void setCredentials(Set credentials)
Specified by:
setCredentials in interface Connection

isSynchronous

public boolean isSynchronous()
Specified by:
isSynchronous in interface Connection

setSynchronous

public void setSynchronous(boolean synchronous)
Specified by:
setSynchronous in interface Connection


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.