org.apache.river.start
NonActivatableServiceDescriptor
and
SharedActivatableServiceDescriptor
via constructor
overloads that take proxy preparer parameters. This allows users
to individually prepare the service proxies returned by service
starter framework.
ActivateWrapper
supports the
the java.security.Security
property
org.apache.river.start.servicePolicyProvider
, which allows users
to specify the fully qualified class name of a dynamic policy provider to
use for wrapping individual service policies in a "shared" environment.
A custom service policy provider can be very useful when trying to
debug security related issues. See the start package documentation for
more detail.
ActivateWrapper.ExportClassLoader
now uses the calling context's
class loader as its parent (versus the application classpath, used previously).
This allows "container" applications more control over the class loader
hierarchy used when launching services.
ActivateWrapper.ExportClassLoader
now extends
PreferredClassLoader
instead of URLClassLoader
.
A service can now specify a preferred list for its import class path,
to ensure that any classes that need to be annotated with the server's
codebase get loaded by the server's class loader rather than accidentally
being resolved in the container.
ClassLoaderUtil
DestroySharedGroup
HTTPDStatus
importCodebase
parameter in the constructors for
NonActivatableServiceDescriptor
and
SharedActivatableServiceDescriptor
now support either:
URL
(s) representing a codebase or
File.pathSeparator
delimited set of class paths.