Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.deployment.preprocessor
Class DeploymentPreprocessor

java.lang.Object
  extended by org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor

public class DeploymentPreprocessor
extends Object

Author:
Bogdan Stefanescu

Field Summary
static String CONTAINER_FILE
           
static String CONTAINER_FILE_COMPAT
           
static String FRAGMENT_FILE
           
static String SEAM_HOT_RELOAD_GLOBAL_CONFIG
           
static String SEAM_HOT_RELOAD_SYSTEM_PROP
           
 
Constructor Summary
DeploymentPreprocessor(File dir)
           
 
Method Summary
 String getJarId(String jarName)
          Deprecated. 
static String getRelativeChildPath(String parent, String child)
           
 ContainerDescriptor getRootContainer()
           
 void init()
           
 void init(File metadata, File[] files)
           
static void main(String[] args)
           
 void predeploy()
           
static void process(File home, File metadata, File[] files)
          Run preprocessing in the given home directory and using the given list of bundles.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

DeploymentPreprocessor

public DeploymentPreprocessor(File dir)
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.