|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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()
Since a provider typically allocates significant resources outside the JVM on behalf of a Connection, clients should close them when they are not needed. |
java.util.Set |
getCredentials()
Gets the credentails associated with this client. |
RegistryService |
getRegistryService()
Gets the RegistryService interface associated with the Connection. |
boolean |
isClosed()
Return true if this Connection has been closed. |
boolean |
isSynchronous()
Return true if client uses synchronous communication with JAXR provider. |
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
RegistryService
public void close()
throws JAXRException
JAXRException - if a JARR error occurs.
public boolean isClosed()
throws JAXRException
public boolean isSynchronous()
throws JAXRException
public void setSynchronous(boolean sync)
throws JAXRException
public void setCredentials(java.util.Set credentials)
throws JAXRException
public java.util.Set getCredentials()
throws JAXRException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||