| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class represents a connection between a JAXR client and a JAXR provider.
ConnectionFactory| Method Summary | |
|  void | close()Closes a Connection when it is no longer needed. | 
|  java.util.Set | getCredentials()Gets the credentials associated with this client. | 
|  RegistryService | getRegistryService()Gets the RegistryService interface associated with the Connection. | 
|  boolean | isClosed()Indicated whether this Connection has been closed or not. | 
|  boolean | isSynchronous()Indicates whether a client uses synchronous communication with JAXR provider or not. | 
|  void | setCredentials(java.util.Set credentials)Sets the Credentials associated with this client. | 
|  void | setSynchronous(boolean sync)Sets whether the client uses synchronous communication or not. | 
| Method Detail | 
public RegistryService getRegistryService()
                                   throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorRegistryService
public void close()
           throws JAXRException
JAXRException - If the JAXR provider encounters an internal error
public boolean isClosed()
                 throws JAXRException
true if Connection is closed; false otherwise
JAXRException - If the JAXR provider encounters an internal error
public boolean isSynchronous()
                      throws JAXRException
true if Connection is synchronous (default); false otherwise
JAXRException - If the JAXR provider encounters an internal error
public void setSynchronous(boolean sync)
                    throws JAXRException
sync - true if Connection is desired to be synchronous; false otherwise
JAXRException - If the JAXR provider encounters an internal error
public void setCredentials(java.util.Set credentials)
                    throws JAXRException
credentials - a Collection oj java.lang.Objects which provide identity related information for the caller.
JAXRException - If the JAXR provider encounters an internal error
public java.util.Set getCredentials()
                             throws JAXRException
JAXRException - If the JAXR provider encounters an internal error| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.