Class MicroInnerDeployer
java.lang.Object
cloud.piranha.micro.shrinkwrap.core.MicroInnerDeployer
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 Summary
-
Method Summary
-
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.
-