Package cloud.piranha.micro
Class MicroOuterDeployer
- java.lang.Object
-
- cloud.piranha.micro.MicroOuterDeployer
-
public class MicroOuterDeployer extends Object
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
Constructors Constructor Description MicroOuterDeployer()
MicroOuterDeployer(MicroConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
deploy(org.jboss.shrinkwrap.api.Archive<?> archive)
void
stop()
-
-
-
Constructor Detail
-
MicroOuterDeployer
public MicroOuterDeployer()
-
MicroOuterDeployer
public MicroOuterDeployer(MicroConfiguration configuration)
-
-