Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.jboss.deployer
Class NuxeoLauncher

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.nuxeo.runtime.jboss.deployer.AbstractNuxeoDeployer
          extended by org.nuxeo.runtime.jboss.deployer.NuxeoLauncher
All Implemented Interfaces:
org.jboss.deployers.spi.deployer.Deployer, org.jboss.deployers.spi.Ordered

public class NuxeoLauncher
extends AbstractNuxeoDeployer

Nuxeo Launcher - work both with exploded and zipped Nuxeo EARs. A zipped ear will be unpacked into JBoss tmp folder in nuxeo/[unit-name] A nuxeo.ear zip will be unpacked only the first time nuxeo starts or if the EAR zip was changed from the last unzip.

Author:
Bogdan Stefanescu

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
org.jboss.deployers.spi.Ordered.OrderedComparator
 
Field Summary
static String NUXEO_EAR_DIR
           
static String NUXEO_HOME_DIR
           
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
NuxeoLauncher()
           
 
Method Summary
 File getNuxeoHome()
           
 File getRealNuxeoZipFile(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit)
          This method is needed for optimization in the zipped ear deployment.
 
Methods inherited from class org.nuxeo.runtime.jboss.deployer.AbstractNuxeoDeployer
deploy, undeploy
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutput, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setWantComponents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUXEO_HOME_DIR

public static final String NUXEO_HOME_DIR
See Also:
Constant Field Values

NUXEO_EAR_DIR

public static final String NUXEO_EAR_DIR
See Also:
Constant Field Values
Constructor Detail

NuxeoLauncher

public NuxeoLauncher()
Method Detail

getNuxeoHome

public File getNuxeoHome()

getRealNuxeoZipFile

public File getRealNuxeoZipFile(org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit unit)
                         throws Exception
This method is needed for optimization in the zipped ear deployment. It tries to get the original zip file to be able to check the last modified time to see if the unzip is required.

Parameters:
unit -
Returns:
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.