| |
|
| java.lang.Object com.sun.servicetag.SunConnection
SunConnection | class SunConnection (Code) | | Sun Connection Class for Product Registration.
Registration Web Application Interface
1) POST the product registry to the output stream of the registration
relay service.
2) Open the webapp URL from a browser with the following parameters:
registry-urn
product=jdk
locale=
See Also: https://sn-tools.central.sun.com/twiki/pub/ServiceTags/RegistrationRelayService/ |
Method Summary | |
static URL | getRegistrationURL(String registrationURN) Returns a URL for JDK registration interfacing with the Sun Connection
registration relay service in this form:
/?product=jdk&locale=
The can be overridden by an environment
variable or a system property. | public static void | register(RegistrationData regData) Registers all products in the given product registry. |
getRegistrationURL | static URL getRegistrationURL(String registrationURN)(Code) | | Returns a URL for JDK registration interfacing with the Sun Connection
registration relay service in this form:
/?product=jdk&locale=
The can be overridden by an environment
variable or a system property.
1) "servicetag.register.testing" system property to switch to the
Sun Connection registration sandbox testing.
2) "servicetag.registration.url" system property to override
the URL
3) Default production URL
|
register | public static void register(RegistrationData regData) throws IOException(Code) | | Registers all products in the given product registry. If it fails
to post the service tag registry, open the browser with the offline
registration page.
Parameters: regData - registration data to be posted to the Sun Connectionfor registration. throws: IOException - if I/O error occurs in this operation |
|
|
|