Examples of removeResource()


Examples of com.sun.enterprise.resource.ResourceInstaller.removeResource()

        // resource installer
        ResourceInstaller installer = getAppServerSwitchObject().getResourceInstaller();

        // removes the resource from the collection
        installer.removeResource(j2eeResource);
       
        ManagementObjectManager mgr =
                getAppServerSwitchObject().getManagementObjectManager();
        mgr.unregisterJavaMailResource(mailRes.getJndiName());
    }
View Full Code Here

Examples of com.valhalla.jbother.jabber.BuddyStatus.removeResource()

                    // if it's unavailable, check to see if they have any resources
                    // still online
                    // if they do, set the packet to available, and minus one
                    // resource
                    if (presence.getType() == Presence.Type.UNAVAILABLE) {
                        buddy.removeResource(resource);
                        if (buddy.size() > 0) {
                            presence.setType(Presence.Type.AVAILABLE);
                        }
                    } else {
                        int priority = presence.getPriority();
View Full Code Here

Examples of javax.jnlp.DownloadService.removeResource()

      try {
    URL codebase = Config.getBasicService().getCodeBase();
    URL url = new URL(codebase, component);
    component = url.toString();
    Config.trace("Removing: " + component + "/" + version);
    downloadService.removeResource(url, version);
      } catch(IOException ioe) {
    Config.trace("Unable to remove " + component + "/" + version);
      }
  } else {
      Config.trace("No download service found");
View Full Code Here

Examples of juzu.impl.plugin.asset.AssetsMetaModel.removeResource()

  @Override
  public void processAnnotationRemoved(ApplicationMetaModel metaModel, AnnotationKey key, AnnotationState removed) {
    Name pkg = key.getElement().getPackageName();
    AssetsMetaModel assetsMetaModel = metaModel.getChild(AssetsMetaModel.KEY);
    for (Map.Entry<String, URL> entry : getAssets(metaModel, removed).entrySet()) {
      assetsMetaModel.removeResource(entry.getKey(), entry.getValue());

    }
  }

  private Map<String, URL> getAssets(ApplicationMetaModel metaModel, AnnotationState annotation) {
View Full Code Here

Examples of net.sf.xbus.base.core.TAManager.removeResource()

    Trace.always("FileReceiverThread for " + getSource().getName()
        + " stopped");

    // close all resources and remove Resource from the TAManager
    taManager.close();
    taManager.removeResource(mReceiver);
  }

  /**
   * Creates an instance of {@link net.sf.xbus.technical.file.FileReceiver}
   * used to read from a file.
View Full Code Here

Examples of net.sf.xbus.base.core.TAManager.removeResource()

    }
    finally
    {
      // close resources and remove from the resources
      taManager.close();
      taManager.removeResource(this);
    }
  }

  protected boolean doReceive(XBUSSystem xbusSystem)
  {
View Full Code Here

Examples of org.apache.avalon.excalibur.monitor.Monitor.removeResource()

                    public void run()
                    {
                        while ( true )
                        {
                            monitor.addResource( resource );
                            monitor.removeResource( resource );
                        }
                    }
                };
                thread.start();
            }
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.removeResource()

        ContextResource resource = nresources.findResource(resourceName);
        if (resource == null) {
            throw new IllegalArgumentException
                ("Invalid resource name '" + resourceName + "'");
        }
        nresources.removeResource(resourceName);
    }
   
   
    /**
     * Remove any resource link with the specified name.
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.removeResource()

        ContextResource resource = nresources.findResource(resourceName);
        if (resource == null) {
            throw new IllegalArgumentException
                ("Invalid resource name '" + resourceName + "'");
        }
        nresources.removeResource(resourceName);
    }


    /**
     * Remove any resource link with the specified name.
View Full Code Here

Examples of org.apache.catalina.deploy.NamingResources.removeResource()

        ContextResource resource = nresources.findResource(resourceName);
        if (resource == null) {
            throw new IllegalArgumentException
                ("Invalid resource name '" + resourceName + "'");
        }
        nresources.removeResource(resourceName);
    }
   
   
    /**
     * Remove any resource link with the specified name.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.