com.caucho.server.e_app
Class AppClientDeployController

java.lang.Object
  extended by com.caucho.server.deploy.DeployController<I>
      extended by com.caucho.server.deploy.ExpandDeployController<EntAppClient>
          extended by com.caucho.server.e_app.AppClientDeployController
All Implemented Interfaces:
AlarmListener, Dependency, java.util.EventListener

public class AppClientDeployController
extends ExpandDeployController<EntAppClient>

A configuration entry for Enterprise Application clients


Field Summary
 
Fields inherited from class com.caucho.server.deploy.DeployController
_lifecycle, REDEPLOY_AUTOMATIC, REDEPLOY_CHECK_INTERVAL, REDEPLOY_DEFAULT, REDEPLOY_LAZY, REDEPLOY_MANUAL, STARTUP_AUTOMATIC, STARTUP_DEFAULT, STARTUP_LAZY, STARTUP_MANUAL
 
Constructor Summary
AppClientDeployController()
           
 
Method Summary
 void addConfig(Path path)
          Adds a config file.
 void addEar(Path path)
          Adds a config file.
protected  void configureInstance(EntAppClient appClient)
          Creates the application.
 boolean equals(java.lang.Object o)
          Returns equality.
 java.lang.ClassLoader getLoader()
           
protected  EntAppClient instantiateDeployInstance()
          Returns the application object.
 void main(java.lang.String[] args)
          Executes the main.
 void main(java.lang.String mainClass, java.lang.String[] args)
          Executes the main.
 void setRootDirectory(Path path)
          Sets the root.
 java.lang.String toString()
          Returns a printable view.
 
Methods inherited from class com.caucho.server.deploy.ExpandDeployController
addManifestClassPath, expandArchive, getArchivePath, getGit, getGitRefPath, getManifest, getManifestAttributes, getRootDirectory, hashCode, mergeController, removeExpandDirectory, removeExpandDirectory, removeExpandFile, setArchivePath, setExpandCleanupFileSet, setGit, setGitRefPath, setManifestClassLoader
 
Methods inherited from class com.caucho.server.deploy.DeployController
addLifecycleListener, destroy, getConfigException, getDeployAdmin, getDeployInstance, getId, getLog, getMBeanId, getMBeanTypeName, getParentClassLoader, getRedeployCheckInterval, getRedeployMode, getStartTime, getStartupMode, getStartupPriority, getState, handleAlarm, init, initBegin, initEnd, isActive, isActiveIdle, isDestroyed, isError, isErrorNow, isModified, isModifiedNow, isNameMatch, isStopped, isStoppedLazy, logModified, mergeRedeployCheckInterval, mergeRedeployMode, mergeStartupMode, request, restart, setRedeployCheckInterval, setRedeployMode, setStartupMode, setStartupPriority, start, startImpl, startOnInit, stop, subrequest, toRedeployCode, toStartupCode, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppClientDeployController

public AppClientDeployController()
Method Detail

setRootDirectory

public void setRootDirectory(Path path)
Sets the root.

Overrides:
setRootDirectory in class ExpandDeployController<EntAppClient>

addConfig

public void addConfig(Path path)
Adds a config file.


addEar

public void addEar(Path path)
Adds a config file.


main

public void main(java.lang.String[] args)
          throws java.lang.Throwable
Executes the main.

Throws:
java.lang.Throwable

main

public void main(java.lang.String mainClass,
                 java.lang.String[] args)
          throws java.lang.Throwable
Executes the main.

Throws:
java.lang.Throwable

getLoader

public java.lang.ClassLoader getLoader()

instantiateDeployInstance

protected EntAppClient instantiateDeployInstance()
Returns the application object.

Specified by:
instantiateDeployInstance in class DeployController<EntAppClient>

configureInstance

protected void configureInstance(EntAppClient appClient)
                          throws java.lang.Throwable
Creates the application.

Overrides:
configureInstance in class DeployController<EntAppClient>
Throws:
java.lang.Throwable

equals

public boolean equals(java.lang.Object o)
Returns equality.

Overrides:
equals in class ExpandDeployController<EntAppClient>

toString

public java.lang.String toString()
Returns a printable view.

Overrides:
toString in class DeployController<EntAppClient>