com.caucho.server.e_app
Class EarDeployGenerator

java.lang.Object
  extended by com.caucho.env.deploy.DeployGenerator<E>
      extended by com.caucho.env.deploy.ExpandDeployGenerator<EarDeployController>
          extended by com.caucho.server.e_app.EarDeployGenerator
All Implemented Interfaces:
DeployUpdateListener, RepositoryTagListener, EnvironmentListener, AlarmListener, Dependency, java.util.EventListener

@Module
public class EarDeployGenerator
extends ExpandDeployGenerator<EarDeployController>

The generator for the ear-deploy


Constructor Summary
EarDeployGenerator(java.lang.String id, DeployContainer<EarDeployController> deployContainer, WebAppContainer parentContainer)
           
 
Method Summary
 void addEarDefault(EarConfig config)
          Sets the ear default.
 EarDeployController createController(ExpandVersion version)
          Returns the current array of application entries.
protected  void destroyImpl()
          Derived class implentation of destroy.
 java.lang.String getURLPrefix()
          Gets the URL prefix.
protected  void initImpl()
          Configuration checks on init.
 void setURLPrefix(java.lang.String prefix)
          Sets the URL prefix.
protected  void startImpl()
          Starts the deploy.
 
Methods inherited from class com.caucho.env.deploy.ExpandDeployGenerator
addExpandCleanupFileset, addExpandPreserveFileset, addRequireFile, afterUpdate, deploy, equals, fillDeployedNames, generateController, getArchiveDirectory, getArchivePath, getConfigException, getDependencyCheckInterval, getExpandDirectory, getExpandPath, getExpandPrefix, getExpandSuffix, getExtension, getId, getLog, getNames, getPath, getPrimaryVersion, getRepository, handleAlarm, isDeployedKey, isModified, isVersioning, keyToName, logModified, nameToKey, onTagChange, onUpdate, setArchiveDirectory, setDependencyCheckInterval, setEntryNamePrefix, setExpandDirectory, setExpandPath, setExpandPrefix, setExpandSuffix, setExtension, setMultiversionRouting, setPath, setVersioning, start, stop, stopImpl, toString, undeploy, update, updateIfModified, updateIfModifiedNow
 
Methods inherited from class com.caucho.env.deploy.DeployGenerator
destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, getConfigException, getDeployContainer, getParentClassLoader, getRedeployMode, getStartupMode, getState, init, isActive, isDestroyed, mergeController, setRedeployMode, setStartupMode, start, stop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EarDeployGenerator

public EarDeployGenerator(java.lang.String id,
                          DeployContainer<EarDeployController> deployContainer,
                          WebAppContainer parentContainer)
Method Detail

getURLPrefix

public java.lang.String getURLPrefix()
Gets the URL prefix.


setURLPrefix

public void setURLPrefix(java.lang.String prefix)
Sets the URL prefix.


addEarDefault

public void addEarDefault(EarConfig config)
Sets the ear default.


initImpl

protected void initImpl()
                 throws ConfigException
Description copied from class: ExpandDeployGenerator
Configuration checks on init.

Overrides:
initImpl in class ExpandDeployGenerator<EarDeployController>
Throws:
ConfigException

startImpl

protected void startImpl()
                  throws ConfigException
Description copied from class: ExpandDeployGenerator
Starts the deploy.

Overrides:
startImpl in class ExpandDeployGenerator<EarDeployController>
Throws:
ConfigException

createController

public EarDeployController createController(ExpandVersion version)
Returns the current array of application entries.

Specified by:
createController in class ExpandDeployGenerator<EarDeployController>

destroyImpl

protected void destroyImpl()
Description copied from class: DeployGenerator
Derived class implentation of destroy.

Overrides:
destroyImpl in class DeployGenerator<EarDeployController>