Class 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 Detail

      • MicroOuterDeployer

        public MicroOuterDeployer()
    • Method Detail

      • deploy

        public Set<String> deploy​(org.jboss.shrinkwrap.api.Archive<?> archive)
      • stop

        public void stop()