Merge pull request #19612 from rocketraman/rg/osgi-doc
=doc Add intended use section to OSGi doc
This commit is contained in:
commit
c346ac2c32
1 changed files with 8 additions and 0 deletions
|
|
@ -100,6 +100,14 @@ Configuring the OSGi Framework
|
||||||
To use Akka in an OSGi environment, the container must be configured such that the ``org.osgi.framework.bootdelegation``
|
To use Akka in an OSGi environment, the container must be configured such that the ``org.osgi.framework.bootdelegation``
|
||||||
property delegates the ``sun.misc`` package to the boot classloader instead of resolving it through the normal OSGi class space.
|
property delegates the ``sun.misc`` package to the boot classloader instead of resolving it through the normal OSGi class space.
|
||||||
|
|
||||||
|
Intended Use
|
||||||
|
------------
|
||||||
|
|
||||||
|
Akka only supports the usage of an ActorSystem strictly confined to a single OSGi bundle, where that bundle contains or imports
|
||||||
|
all of the actor system's requirements. This means that the approach of offering an ActorSystem as a service to which Actors
|
||||||
|
can be deployed dynamically via other bundles is not recommended — an ActorSystem and its contained actors are not meant to be
|
||||||
|
dynamic in this way. ActorRefs may safely be exposed to other bundles.
|
||||||
|
|
||||||
Activator
|
Activator
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue