public class DeploymentContext extends Object
PackagingUtil
identify and unpack nested subdeployments (i.e. WAR inside EAR) before passing the resulting URL's to
the Reflections implementation.
Calling close()
deletes the temporary created archive files.
Subsequent call to Reflection rely on classloading and don't need these artifacts anymore.Constructor and Description |
---|
DeploymentContext(List<URL> configUrls) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static boolean |
deleteDirectory(File path) |
List<URL> |
getConfigUrls() |
Map<String,File> |
getSubContexts() |
boolean |
hasProcessed(File file) |
void |
markProcessed(File file) |
void |
markTmpFile(File file) |
List<URL> |
process() |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.