org.nuxeo.runtime.deployment.preprocessor
Class DeploymentPreprocessor
java.lang.Object
org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor
public class DeploymentPreprocessor
- extends Object
- Author:
- Bogdan Stefanescu
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
CONTAINER_FILE_COMPAT
public static final String CONTAINER_FILE_COMPAT
- See Also:
- Constant Field Values
SEAM_HOT_RELOAD_GLOBAL_CONFIG
public static final String SEAM_HOT_RELOAD_GLOBAL_CONFIG
- See Also:
- Constant Field Values
SEAM_HOT_RELOAD_SYSTEM_PROP
public static final String SEAM_HOT_RELOAD_SYSTEM_PROP
- See Also:
- Constant Field Values
DeploymentPreprocessor
public DeploymentPreprocessor(File dir)
getJarId
@Deprecated
public String getJarId(String jarName)
- Deprecated.
getRootContainer
public ContainerDescriptor getRootContainer()
init
public void init()
throws Exception
- Throws:
Exception
init
public void init(File metadata,
File[] files)
throws Exception
- Throws:
Exception
predeploy
public void predeploy()
throws Exception
- Throws:
Exception
getRelativeChildPath
public static String getRelativeChildPath(String parent,
String child)
process
public static void process(File home,
File metadata,
File[] files)
throws Exception
- Run preprocessing in the given home directory and using the given list of
bundles. Bundles must be ordered by the caller to have same deployment
order on all computers.
The metadata file is the metadat file to be used to configure the
processor. If null the default location will be used (relative to home):
CONTAINER_FILE
.
- Throws:
Exception
main
public static void main(String[] args)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.