|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.registry.uddi.ConnectionImpl
public class ConnectionImpl
Class Declaration for ConnectionImpl
| Field Summary | |
|---|---|
static String |
USER_DEF_TAXONOMIES
|
| 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. |
Set |
getCredentials()
Gets the credentials associated with this client. |
String |
getCurrentUser()
|
RegistryService |
getRegistryService()
Gets the RegistryService interface associated with the Connection. |
String |
getUserDefinedTaxonomy()
|
boolean |
isClosed()
Returns true if this connection has been closed. |
boolean |
isSynchronous()
Return true if client uses synchronous communication with JAXR provider. |
void |
setCredentials(Set credentials)
Sets the Credentials associated with this client. |
void |
setSynchronous(boolean sync)
Sets whether the client uses synchronous communication or not. |
boolean |
useCache()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String USER_DEF_TAXONOMIES
| Method Detail |
|---|
public RegistryService getRegistryService()
throws JAXRException
getRegistryService in interface ConnectionJAXRException - If the JAXR provider encounters an internal error
public void close()
throws JAXRException
close in interface ConnectionJAXRException - if a JARR error occurs.public boolean isClosed()
isClosed in interface Connection
public boolean isSynchronous()
throws JAXRException
isSynchronous in interface Connectiontrue if Connection is synchronous (default); false otherwise
JAXRException - If the JAXR provider encounters an internal error
public void setSynchronous(boolean sync)
throws JAXRException
setSynchronous in interface Connectionsync - true if Connection is desired to be synchronous; false otherwise
JAXRException - If the JAXR provider encounters an internal error
public void setCredentials(Set credentials)
throws JAXRException
Connection
setCredentials in interface Connectioncredentials - a Collection oj java.lang.Objects which provide identity related information for the caller.
JAXRException - If the JAXR provider encounters an internal error
public Set getCredentials()
throws JAXRException
Connection
getCredentials in interface ConnectionJAXRException - If the JAXR provider encounters an internal errorpublic String getUserDefinedTaxonomy()
public boolean useCache()
public String getCurrentUser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||