java.lang.Object
cloud.piranha.micro.loader.MicroOuterDeployer
The micro outer deployer runs in the outer (or initial) class loader, and
initializes the inner (isolated) class loader.
Initialization consists of loading the required classes that make up the requested configuration of Piranha Micro itself, and putting these in the parent inner class loader, as well as indexing the application classes and putting both this index and the application classes + resources in a child of the parent inner class loader.
These inner class loaders are then used to bootstrap the inner deployer, and control is handed to it. The inner deployer full runs in the inner class loader, and will startup an actual Piranha instance and deploy the given archive to it.
- Author:
- Arjan Tijms
-
Constructor Summary
ConstructorDescriptionConstructor.MicroOuterDeployer(MicroConfiguration configuration)
Constructor. -
Method Summary
-
Constructor Details
-
MicroOuterDeployer
public MicroOuterDeployer()Constructor. -
MicroOuterDeployer
Constructor.- Parameters:
configuration
- the configuration.
-
-
Method Details
-
deploy
Deploy the given archive.- Parameters:
archive
- the archive.- Returns:
- the outcome.
-
stop
public void stop()Stop the inner deployer.
-