Nuxeo Enterprise Platform 5.1

org.nuxeo.runtime.jboss.deployment.preprocessor
Class DeploymentPreprocessor

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

public class DeploymentPreprocessor
extends Object

Author:
Bogdan Stefanescu

Field Summary
static String CONTAINER_FILE
           
static String FRAGMENT_FILE
           
 
Constructor Summary
DeploymentPreprocessor(File dir)
           
 
Method Summary
protected  void collectXMLFragments(ContainerDescriptor cd, File file)
           
protected  ContainerDescriptor getContainer(File directory)
           
protected  FragmentDescriptor getDirectoryFragment(File directory)
           
protected  FragmentDescriptor getJARFragment(File file)
           
 String getJarId(String jarName)
           
static String getRelativeChildPath(String parent, String child)
           
 ContainerDescriptor getRootContainer()
           
protected  FragmentDescriptor getXMLFragment(File file)
           
 void init()
           
protected  void init(ContainerDescriptor cd)
           
protected  void init(ContainerDescriptor cd, File dir)
           
static void main(String[] args)
           
 void predeploy()
           
protected  void predeploy(ContainerDescriptor cd)
           
protected  void processManifest(FragmentDescriptor fd, String fileName, Manifest mf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
Constructor Detail

DeploymentPreprocessor

public DeploymentPreprocessor(File dir)
Method Detail

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)

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.