|
Ruddi™ UDDI Client API 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--inspireit.uddi.request.UDDIProfile
UDDIProfile defines a context of execution for a UDDI client/server interaction. The system properties are automatically part of the profile. In addition, the following properties can be set:
| Field Summary | |
protected java.util.Hashtable |
properties
Internal structure to keep track of the profile properties. |
| Constructor Summary | |
UDDIProfile()
UDDIProfile default constructor. |
|
UDDIProfile(java.net.URL queryURL,
java.net.URL publishURL,
java.lang.String username,
java.lang.String password,
int version)
UDDIProfile constructor. |
|
| Method Summary | |
protected void |
checkKeynameValidity(java.lang.String keyname)
Checks whether the keyname of a property is valid. |
java.lang.String |
getPassword()
Gets the password required to publish. |
java.lang.String |
getProperty(java.lang.String keyname)
Gets a profile property by name. |
java.net.URL |
getPublishURL()
Gets the URL to which publishing requests are sent. |
java.net.URL |
getQueryURL()
Gets the URL to which query requests are sent. |
java.net.URL |
getSecurityURL()
Gets the URL to which security requests are sent. |
java.lang.String |
getUsername()
Gets the username required to publish. |
int |
getVersion()
Gets the UDDI version in use. |
static inspireit.uddi.request.UDDIProfile |
load(java.lang.String filename)
Loads a UDDIProfile from a file. |
void |
save(java.lang.String filename)
Saves a UDDIProfile to a file. |
void |
setPassword(java.lang.String password)
Sets the password required to publish. |
void |
setProperty(java.lang.String keyname,
java.lang.String keyvalue)
Sets a property to the profile. |
void |
setPublishURL(java.net.URL publishURL)
Sets the URL to which publishing requests are sent. |
void |
setQueryURL(java.net.URL queryURL)
Sets the URL to which query requests are sent. |
void |
setSecurityURL(java.net.URL securityURL)
Sets the URL to which security requests are sent. |
void |
setUsername(java.lang.String username)
Sets the username required to publish. |
void |
setVersion(int version)
Sets the UDDI version in use. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Hashtable properties
| Constructor Detail |
public UDDIProfile()
public UDDIProfile(java.net.URL queryURL,
java.net.URL publishURL,
java.lang.String username,
java.lang.String password,
int version)
queryURL - URL to which query requests are sent.publishURL - URL to which publishing requests are sent.username - The username required to publish.password - The password required to publish.version - The UDDI version in use.| Method Detail |
public void setProperty(java.lang.String keyname,
java.lang.String keyvalue)
keyname - The name under which the property is known.keyvalue - The property value.public java.lang.String getProperty(java.lang.String keyname)
keyname - The name of the property.
public static inspireit.uddi.request.UDDIProfile load(java.lang.String filename)
throws java.lang.Exception
filename - The file name.
if - the UDDIProfile could not be read from the file
java.lang.Exception
public void save(java.lang.String filename)
throws java.lang.Exception
filename - The file name.
if - the UDDIProfile could not be written to the file
java.lang.Exceptionpublic void setQueryURL(java.net.URL queryURL)
queryURL - The URL to which query requests are sent.public java.net.URL getQueryURL()
public void setPublishURL(java.net.URL publishURL)
publishURL - The URL to which publishing requests are sent.public java.net.URL getPublishURL()
public void setSecurityURL(java.net.URL securityURL)
securityURL - The URL to which security requests are sent.public java.net.URL getSecurityURL()
public void setUsername(java.lang.String username)
username - The username required to publish.public java.lang.String getUsername()
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - The password required to publish.public void setVersion(int version)
version - The UDDI version in useUDDIConstantspublic int getVersion()
UDDIConstants
protected void checkKeynameValidity(java.lang.String keyname)
throws java.lang.RuntimeException
keyname - The keyname to validate.
java.lang.RuntimeException - if the keyname is not valid
|
Ruddi™ UDDI Client API 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||