org.jboss.errai.common.metadata
Class DeploymentContext
java.lang.Object
org.jboss.errai.common.metadata.DeploymentContext
public class DeploymentContext
- extends Object
DeploymentContext and 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.
- Author:
- Heiko Braun
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentContext
public DeploymentContext(List<URL> configUrls)
getConfigUrls
public List<URL> getConfigUrls()
getSubContexts
public Map<String,File> getSubContexts()
hasProcessed
public boolean hasProcessed(File file)
markProcessed
public void markProcessed(File file)
process
public List<URL> process()
markTmpFile
public void markTmpFile(File file)
close
public void close()
deleteDirectory
public static boolean deleteDirectory(File path)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.