Sponsored Link •
To access the source and binary files for Artima Software, Inc.'s 1.1a implementation of the Jini Service UI API, which was released under the Apache License, Version 2.0, just click on these links:
To access the source and binary files for Artima Software, Inc.'s 1.1 implementation of the Jini
Service UI API, which was released under the Sun Community Source License (SCSL), you must
visit the Jini ServiceUI API Download page at
www.jini.org at the following URL:
The 1.1 source and binaries are not available directly at
artima.com because they were released
under SCSL. According to the SCSL, you must be a signatory to the SCSL before you can access source
and binaries distributed under the SCSL. Given that you must agree to the SCSL before you can
log on to
jini.org to access the ServiceUI API download page (at the above URL), making everyone go
through a page at
jini.org fulfills that requirement of the SCSL.
RequiredPackages. These constructors are now required to copy the contents of the passed
Mapto an unmodifiable version that has a consistent serialized form across all VMs.
AccessibleUI.hashcodeso that it returns the hashcode of its fully qualified
Stringname, rather than the hashcode of its
net.jini.lookup.entry, as suggested by the Jini Lookup Attributes Schema specification.
AboutUIto match the semantics given in the specification. Originally (prior to the 1.0 release), these role interfaces defined their role object to be exactly the service item. Ken Arnold requested we say that the service item must be accepted as the role object, which yields more flexibility. Although a service item is required to always work when passed as the role object to factory methods for main, admin, and about UIs, other objects may also work. I made this change back then to the specification, but forgot to change the Javadoc comments. The specification and the Javadoc comments are now in sync.
JDialogFactory, which were incorrectly named
getDialogin ServiceUI v1.0. The methods are now correctly named
serialVersionIDs to all classes in the API, to speed up deserialization. Improved JavaDoc comments, including adding missing serial, author, param, throws, and return tags, as well as adding clarifying javadoc text where it seemed helpful. Added flat javadoc documentation to the end of the Service UI API Specification, to make sure the semantics of the API are specified in detail in the specification itself.
hashCode()methods. In addition, in several places, changed the exception thrown when a null value is passed to a constructor or method from
IllegalArgumentExceptionto the more appropriate
NullPointerException. The methods which now throw
UIFactoryTypes.isAssignableTo(). All of these changes are described in the revised javadoc comments.
AboutUI, changed the second sentence in the second paragraph of the each primary javadoc comment for these types, so that the service item with which a main, admin, or about UI is associated must be accepted as the role object, rather than is required as the role object. In
UIFactoryTypes, deleted the already commented out
isAssignableTo()method that accepted a
String. In version 0.9.0, I made no changes to code of the previous version, 0.8.1. The only changes I made were to comments of the previous version.
AboutUI, changed constant
ROLE. In all factories, changed
TYPE_NAME. Added the missing
String toolkitparameter to a