org.glassfish.osgiweb
Class OSGiWebDeploymentRequest

java.lang.Object
  extended by org.glassfish.osgijavaeebase.OSGiDeploymentRequest
      extended by org.glassfish.osgiweb.OSGiWebDeploymentRequest

public class OSGiWebDeploymentRequest
extends org.glassfish.osgijavaeebase.OSGiDeploymentRequest

This is the class responsible for deploying a WAB in the Java EE container.

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
OSGiWebDeploymentRequest(org.glassfish.internal.deployment.Deployment deployer, com.sun.enterprise.deploy.shared.ArchiveFactory archiveFactory, org.glassfish.server.ServerEnvironmentImpl env, org.glassfish.api.ActionReport reporter, org.osgi.framework.Bundle b)
           
 
Method Summary
protected  org.glassfish.osgijavaeebase.OSGiDeploymentContext getDeploymentContextImpl(org.glassfish.api.ActionReport reporter, Logger logger, org.glassfish.api.deployment.archive.ReadableArchive archive, org.glassfish.api.deployment.OpsParams opsParams, org.glassfish.server.ServerEnvironmentImpl env, org.osgi.framework.Bundle b)
           
protected  org.glassfish.api.deployment.DeployCommandParameters getDeployParams()
           
protected  WAB makeArchive()
           
 void postDeploy()
           
 void preDeploy()
           
 
Methods inherited from class org.glassfish.osgijavaeebase.OSGiDeploymentRequest
execute, getArchive, getBundle, getResult, makeFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiWebDeploymentRequest

public OSGiWebDeploymentRequest(org.glassfish.internal.deployment.Deployment deployer,
                                com.sun.enterprise.deploy.shared.ArchiveFactory archiveFactory,
                                org.glassfish.server.ServerEnvironmentImpl env,
                                org.glassfish.api.ActionReport reporter,
                                org.osgi.framework.Bundle b)
Method Detail

getDeploymentContextImpl

protected org.glassfish.osgijavaeebase.OSGiDeploymentContext getDeploymentContextImpl(org.glassfish.api.ActionReport reporter,
                                                                                      Logger logger,
                                                                                      org.glassfish.api.deployment.archive.ReadableArchive archive,
                                                                                      org.glassfish.api.deployment.OpsParams opsParams,
                                                                                      org.glassfish.server.ServerEnvironmentImpl env,
                                                                                      org.osgi.framework.Bundle b)
                                                                               throws Exception
Specified by:
getDeploymentContextImpl in class org.glassfish.osgijavaeebase.OSGiDeploymentRequest
Throws:
Exception

makeArchive

protected WAB makeArchive()
Overrides:
makeArchive in class org.glassfish.osgijavaeebase.OSGiDeploymentRequest

getDeployParams

protected org.glassfish.api.deployment.DeployCommandParameters getDeployParams()
                                                                        throws Exception
Overrides:
getDeployParams in class org.glassfish.osgijavaeebase.OSGiDeploymentRequest
Throws:
Exception

preDeploy

public void preDeploy()
               throws org.glassfish.osgijavaeebase.DeploymentException
Overrides:
preDeploy in class org.glassfish.osgijavaeebase.OSGiDeploymentRequest
Throws:
org.glassfish.osgijavaeebase.DeploymentException

postDeploy

public void postDeploy()
Overrides:
postDeploy in class org.glassfish.osgijavaeebase.OSGiDeploymentRequest


Copyright © 2012 GlassFish Community. All Rights Reserved.