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 , Tom Cunningham
See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_JUDDI_CLIENT_CONFIG_FILE
           
static java.lang.String DEFAULT_UDDI_VERSION
           
static java.lang.String JUDDI_CLIENT_CONFIG_FILE
           
 
Constructor Summary
ConnectionImpl(java.util.Properties properties)
           
 
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
 

Field Detail

JUDDI_CLIENT_CONFIG_FILE

public static final java.lang.String JUDDI_CLIENT_CONFIG_FILE
See Also:
Constant Field Values

DEFAULT_JUDDI_CLIENT_CONFIG_FILE

public static final java.lang.String DEFAULT_JUDDI_CLIENT_CONFIG_FILE
See Also:
Constant Field Values

DEFAULT_UDDI_VERSION

public static final java.lang.String DEFAULT_UDDI_VERSION
See Also:
Constant Field Values
Constructor Detail

ConnectionImpl

public ConnectionImpl(java.util.Properties properties)
               throws javax.xml.registry.InvalidRequestException
Throws:
javax.xml.registry.InvalidRequestException
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


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.