org.glassfish.osgijavaeebase
Class OSGiUndeploymentRequest

java.lang.Object
  extended by org.glassfish.osgijavaeebase.OSGiUndeploymentRequest

public abstract class OSGiUndeploymentRequest
extends java.lang.Object

This is a stateful service. It is responsible for undeployment of the artifact from JavaEE runtime.

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
OSGiUndeploymentRequest(org.glassfish.internal.deployment.Deployment deployer, org.glassfish.server.ServerEnvironmentImpl env, org.glassfish.api.ActionReport reporter, OSGiApplicationInfo osgiAppInfo)
           
 
Method Summary
 void execute()
           
protected abstract  OSGiDeploymentContext getDeploymentContextImpl(org.glassfish.api.ActionReport reporter, java.util.logging.Logger logger, org.glassfish.api.deployment.archive.ReadableArchive source, org.glassfish.api.deployment.UndeployCommandParameters undeployParams, org.glassfish.server.ServerEnvironmentImpl env, org.osgi.framework.Bundle bundle)
           
protected  OSGiApplicationInfo getOsgiAppInfo()
           
protected  org.glassfish.api.deployment.UndeployCommandParameters getUndeployParams(OSGiApplicationInfo osgiAppInfo)
           
protected  void postUndeploy()
           
protected  void preUndeploy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiUndeploymentRequest

public OSGiUndeploymentRequest(org.glassfish.internal.deployment.Deployment deployer,
                               org.glassfish.server.ServerEnvironmentImpl env,
                               org.glassfish.api.ActionReport reporter,
                               OSGiApplicationInfo osgiAppInfo)
Method Detail

preUndeploy

protected void preUndeploy()

postUndeploy

protected void postUndeploy()

execute

public void execute()

getDeploymentContextImpl

protected abstract OSGiDeploymentContext getDeploymentContextImpl(org.glassfish.api.ActionReport reporter,
                                                                  java.util.logging.Logger logger,
                                                                  org.glassfish.api.deployment.archive.ReadableArchive source,
                                                                  org.glassfish.api.deployment.UndeployCommandParameters undeployParams,
                                                                  org.glassfish.server.ServerEnvironmentImpl env,
                                                                  org.osgi.framework.Bundle bundle)
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

getUndeployParams

protected org.glassfish.api.deployment.UndeployCommandParameters getUndeployParams(OSGiApplicationInfo osgiAppInfo)

getOsgiAppInfo

protected OSGiApplicationInfo getOsgiAppInfo()


Copyright © 2011 GlassFish Community. All Rights Reserved.