org.nuxeo.runtime.jboss.deployment.preprocessor
Class DeploymentPreprocessor
java.lang.Object
org.nuxeo.runtime.jboss.deployment.preprocessor.DeploymentPreprocessor
public class DeploymentPreprocessor
- extends Object
- Author:
- Bogdan Stefanescu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FRAGMENT_FILE
public static final String FRAGMENT_FILE
- See Also:
- Constant Field Values
CONTAINER_FILE
public static final String CONTAINER_FILE
- See Also:
- Constant Field Values
DeploymentPreprocessor
public DeploymentPreprocessor(File dir)
getJarId
public String getJarId(String jarName)
getRootContainer
public ContainerDescriptor getRootContainer()
init
public void init()
throws Exception
- Throws:
Exception
init
protected void init(ContainerDescriptor cd)
throws Exception
- Throws:
Exception
init
protected void init(ContainerDescriptor cd,
File dir)
throws Exception
- Throws:
Exception
predeploy
public void predeploy()
throws Exception
- Throws:
Exception
predeploy
protected void predeploy(ContainerDescriptor cd)
throws Exception
- Throws:
Exception
getXMLFragment
protected FragmentDescriptor getXMLFragment(File file)
throws Exception
- Throws:
Exception
collectXMLFragments
protected void collectXMLFragments(ContainerDescriptor cd,
File file)
throws Exception
- Throws:
Exception
getDirectoryFragment
protected FragmentDescriptor getDirectoryFragment(File directory)
throws Exception
- Throws:
Exception
getJARFragment
protected FragmentDescriptor getJARFragment(File file)
throws Exception
- Throws:
Exception
processManifest
protected void processManifest(FragmentDescriptor fd,
String fileName,
Manifest mf)
getContainer
protected ContainerDescriptor getContainer(File directory)
throws Exception
- Throws:
Exception
getRelativeChildPath
public static String getRelativeChildPath(String parent,
String child)
main
public static void main(String[] args)
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.