| java.lang.Object | |
| ↳ | org.ops4j.pax.exam.forked.ForkedFrameworkFactory |
Wraps an OSGi FrameworkFactory to create and launch a framework in a forked Java virtual machine running in a separate process.
The framework in the forked process can be controlled via a RemoteFramework interface.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a ForkedFrameworkFactory wrapping a given OSGi FrameworkFactory and a given framework
storage directory
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Forks a Java VM process running an OSGi framework and returns a RemoteFramework
handle to it.
| |||||||||||
Waits for the remote framework to shutdown and frees all resources.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a ForkedFrameworkFactory wrapping a given OSGi FrameworkFactory and a given framework storage directory
| frameworkFactory | OSGi framework factory |
|---|
Forks a Java VM process running an OSGi framework and returns a RemoteFramework handle to it.
@return
| vmArgs | VM arguments |
|---|---|
| systemProperties | system properties for the forked Java VM |
| frameworkProperties | framework properties for the remote framework |
| BundleException | |
| IOException | |
| InterruptedException | |
| NotBoundException | |
| BundleException | |
| IOException | |
| InterruptedException | |
| URISyntaxException |
Waits for the remote framework to shutdown and frees all resources.