Sponsored Link •
|
Advertisement
|
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:
http://serviceui.jini.org/release/
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.
UIDescriptor.getUIFactory
method.
UIDescriptor
,
Locales
, UIFactoryTypes
, and RequiredPackages
. These
constructors are now required to copy the contents of the passed Set
or
Map
to an unmodifiable version that has a consistent serialized form
across all VMs.
AccessibleUI.hashcode
so that it returns the hashcode of its fully qualified String
name, rather than
the hashcode of its Class
instance.
UIDescriptorBean
to net.jini.lookup.entry
, as suggested
by the Jini Lookup Attributes Schema specification.
MainUI
, AdminUI
,
and AboutUI
to 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 getDialog
in ServiceUI v1.0. The methods
are now correctly named getJDialog
. Added
serialVersionID
s 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.
AccessibleUI
, Locales
,
RequiredPackages
, and UIFactoryTypes
, added equals()
and hashCode()
methods. In addition, in several places, changed the exception thrown when a null value is passed
to a constructor or method from IllegalArgumentException
to the more appropriate
NullPointerException
. The methods which now throw NullPointerException
are:
UIDescriptor.getUIFactory()
, Locales
constructor, Locales.isLocaleSupported()
,
Locales.getFirstSupportedLocale()
, RequiredPackages
constructor,
RequiredPackages.getVersion()
, UIFactoryTypes
constructor, and
UIFactoryTypes.isAssignableTo()
. All of these changes are described in the revised
javadoc comments.
MainUI
, AdminUI
, and 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.
MainUI
, AdminUI
, and AboutUI
,
changed constant role
to ROLE
. In all factories, changed toolkit
to TOOLKIT
and typeName
to TYPE_NAME
. Added the missing
String toolkit
parameter to a UIDescriptor
constructor.
Sponsored Links
|