FileDocCategorySizeDatePackage
DeploymentEventInfo.javaAPI DocGlassfish v2 API4698Fri May 04 22:34:30 BST 2007com.sun.enterprise.deployment.backend

DeploymentEventInfo

public class DeploymentEventInfo extends Object
A DeploymentEventInfo is used to store all necessary information for the DeploymentEvent event that gets delivered whenever a DeploymentEventListener registers itself with the DeploymentEventManager. This class does not have setXXX methods as all the values are set during instance construction.
author
Marina Vatkina

Fields Summary
private File
srcDir
The directory where the archive has been exploded
private File
stubsDir
The directory where all the code is generated and being compiled
private com.sun.enterprise.deployment.Application
application
The Application deployment descriptor object
private DeploymentRequest
request
The deployment request object
Constructors Summary
public DeploymentEventInfo(File srcDir, File stubsDir, com.sun.enterprise.deployment.Application application, DeploymentRequest request)
Constructs DeploymentEventInfo from all neccessary elements.

param
srcDir the directory where the archive has been exploded.
param
stubsDir the directory where all the code is generated and being compiled.
param
application the Application deployment descriptor object for the event.
param
request the deployment request object.


        this.srcDir = srcDir;
        this.stubsDir = stubsDir;
        this.application = application;
        this.request = request;
       
    
public DeploymentEventInfo(DeploymentRequest request)
Constructs DeploymentEventInfo with request object

param
DeploymentRequest
return
DeploymentEventInfo

         this.request = request;
     
Methods Summary
public com.sun.enterprise.deployment.ApplicationgetApplicationDescriptor()
Returns the Application deployment descriptor object.

return
application deployment descriptor object.

        return application;
    
public DeploymentRequestgetDeploymentRequest()
Returns the deployment request object.

return
request the deployment request object.

        return request;
    
public java.io.FilegetSrcDir()
Returns the directory where the archive has been exploded.

return
directory where the archive has been exploded.

        return srcDir;
    
public java.io.FilegetStubsDir()
Returns the directory where all the code is generated and being compiled.

return
directory where all the code is generated and being compiled.

        return stubsDir;