java.lang.Object
cloud.piranha.micro.shrinkwrap.core.MicroInnerDeployer

public class MicroInnerDeployer extends Object
Deploys a shrinkwrap application archive to a newly started embedded Piranha instance.

This class is expected to be run within in its own inner (isolated) class loader

Author:
arjan
  • Constructor Details

    • MicroInnerDeployer

      public MicroInnerDeployer()
  • Method Details

    • start

      public Map<String,Object> start(org.jboss.shrinkwrap.api.Archive<?> applicationArchive, ClassLoader classLoader, Map<String,Function<URL,URLConnection>> handlers, Map<String,Object> config)
      Start the application.
      Parameters:
      applicationArchive - the application archive.
      classLoader - the classloader.
      handlers - the handlers.
      config - the configuration.
      Returns:
      the map.
    • stop

      public void stop()
      Stop the application.