OpsParams$Origin.isUndeploy
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.glassfish.api.deployment.OpsParams$Origin.isUndeploy(Showing top 8 results out of 315)

origin: payara/Payara

public void clean(DeploymentContext context) {
  try {
    OpsParams params = context.getCommandParameters(OpsParams.class);
    // we should clean for both undeployment and the failed deployment
    if (params.origin.isUndeploy() || params.origin.isDeploy()) {
      Bundle bundle = getApplicationBundle(context);
      bundle.uninstall();
      getPA().refreshPackages(new Bundle[]{bundle});
      System.out.println("Uninstalled " + bundle);
    }
  } catch (BundleException e) {
    throw new RuntimeException(e);
  }
}
origin: javaee/glassfish

protected void cleanArtifacts(DeploymentContext dc) throws DeploymentException {
  if (params.origin.isUndeploy() && isDas()) {
origin: org.glassfish.main.ejb/ejb-container

if(params.origin.isUndeploy()) {
  keepState = resolveKeepStateOptions(depc, false, ejbBundle);
  if (keepState) {
boolean undeploy = (params.origin.isUndeploy() || params.origin.isDeploy());
origin: org.glassfish.main.ejb/ejb-container

if ( (params.origin.isUndeploy() || params.origin.isDeploy()) && isDas()) {
if( params.origin.isUndeploy()|| params.origin.isDeploy() || params.origin.isLoad()) {
origin: fish.payara.extras/payara-embedded-all

if ( (params.origin.isUndeploy() || params.origin.isDeploy()) && isDas()) {
origin: fish.payara.extras/payara-embedded-all

protected void cleanArtifacts(DeploymentContext dc) throws DeploymentException {
  if (params.origin.isUndeploy() && isDas()) {
origin: javaee/glassfish

if(params.origin.isUndeploy()) {
  keepState = resolveKeepStateOptions(depc, false, ejbBundle);
  if (keepState) {
boolean undeploy = (params.origin.isUndeploy() || params.origin.isDeploy());
origin: javaee/glassfish

if ( (params.origin.isUndeploy() || params.origin.isDeploy()) && isDas()) {
if( params.origin.isUndeploy()|| params.origin.isDeploy() || params.origin.isLoad()) {
org.glassfish.api.deploymentOpsParams$OriginisUndeploy

Popular methods of OpsParams$Origin

  • isDeploy
  • isArtifactsPresent
  • isCreateAppRef
  • needsCleanArtifacts
  • isLoad

Popular classes and methods

  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FlowLayout (java.awt)
  • GridBagLayout (java.awt)
  • BufferedImage (java.awt.image)
  • LinkedHashMap (java.util)
    Hash table implementation of the Map interface with predictable iteration order. [Sun docs] [http:/
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)