com.caucho.server.e_app
Class EarDeployGenerator

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

public class EarDeployGenerator
extends ExpandDeployGenerator<EarDeployController>

The generator for the ear-deploy


Constructor Summary
EarDeployGenerator(DeployContainer<EarDeployController> deployContainer, WebAppContainer parentContainer)
           
 
Method Summary
 void addEarDefault(EarConfig config)
          Sets the ear default.
protected  java.lang.String archiveNameToEntryName(java.lang.String archiveName)
          Converts the archive name to the entry name, returns null if the path name is not a valid entry name.
 EarDeployController createController(java.lang.String name)
          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.server.deploy.ExpandDeployGenerator
addRequireFile, entryNameToArchiveName, equals, fillDeployedKeys, generateController, getArchiveDirectory, getArchivePath, getConfigException, getDependencyCheckInterval, getExpandDirectory, getExpandName, getExpandPath, getExpandPrefix, getExpandSuffix, getExtension, getGit, getGitPath, getGitRefPath, getLog, getNames, getPath, getVersionNames, handleAlarm, isDeployedKey, isModified, isValidDirectory, isVersioning, logModified, pathNameToEntryName, request, setArchiveDirectory, setDependencyCheckInterval, setExpandCleanupFileset, setExpandDirectory, setExpandPath, setExpandPrefix, setExpandSuffix, setExtension, setGit, setGitPath, setPath, setVersioning, start, stop, stopImpl, toString, undeploy, update
 
Methods inherited from class com.caucho.server.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(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

archiveNameToEntryName

protected java.lang.String archiveNameToEntryName(java.lang.String archiveName)
Converts the archive name to the entry name, returns null if the path name is not a valid entry name.

Overrides:
archiveNameToEntryName in class ExpandDeployGenerator<EarDeployController>

createController

public EarDeployController createController(java.lang.String name)
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>