Examples of addResource()


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

            }

            ParsedBuddyInfo info = new ParsedBuddyInfo( connection.getUser() );
            BuddyStatus buddy = BuddyList.getInstance().getBuddyStatus(
                    info.getUserId() );
            buddy.addResource( info.getResource(), priority, mode, result );
            statusMenu.loadSelfStatuses();

            updateIcons();
            sendStatusChangedEvent();
            statusMenu.setModeChecked( mode );
View Full Code Here

Examples of com.valhalla.jbother.jabber.MUCBuddyStatus.addResource()

                    ConversationPanel conv = buddy.getConversation();
                    if ((conv != null) && (conv instanceof ChatPanel))
                        ((ChatPanel) conv).signedOff();

                } else {
                    buddy.addResource("_no resource_", 5, presence.getMode(),
                            presence.getStatus());
                }

                //if we need to, reload the nicklist.
                if (presence.getType() == Presence.Type.AVAILABLE) {
View Full Code Here

Examples of com.vmware.bdd.placement.Container.addResource()

      List<VcCluster> clusters = resMgr.getAvailableClusters();
      AuAssert.check(clusters != null && clusters.size() != 0);
      for (VcCluster cl : clusters) {
         VcResourceUtils.refreshDatastore(cl);
         container.addResource(cl);
      }

      // check time on hosts
      int maxTimeDiffInSec = Constants.MAX_TIME_DIFF_IN_SEC;
      SoftwareManager softMgr =
View Full Code Here

Examples of de.matrixweb.smaller.resource.Resources.addResource()

      final VFile file = findLastModified(vfs.find("/"), ext);
      if (file != null) {
        final VFile target = vfs.find('/' + out);
        LOGGER.info("Copy '{}' -> '{}'", file, target);
        VFSUtils.copy(file, target);
        resources.addResource(resolver.resolve(target.getPath()));
      }
    }
    return new Result(resources);
  }
View Full Code Here

Examples of helma.util.ResourceProperties.addResource()

        guessConfig(config);

        // create system properties
        ResourceProperties sysProps = new ResourceProperties();
        sysProps.addResource(new FileResource(config.getPropFile()));

        // check if there's a property setting for those ports not specified via command line
        if (!config.hasWebsrvPort() && sysProps.getProperty("webPort") != null) {
            try {
                config.setWebsrvPort(getInetSocketAddress(sysProps.getProperty("webPort")));
View Full Code Here

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

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

    }
  }

  @Override
View Full Code Here

Examples of lcmc.crm.ui.CrmGraph.addResource()

            @Override
            public void run() {
                newServiceInfo.getService().setResourceClass(newServiceInfo.getResourceAgent().getResourceClass());
                final CrmGraph hg = getBrowser().getCrmGraph();
                getBrowser().addNameToServiceInfoHash(newServiceInfo);
                if (!hg.addResource(newServiceInfo,
                                    null,
                                    pos,
                                    false, /* colocation only */
                                    false, /* order only */
                                    runMode)) {
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.dev.GenDevProjectsTask.addResource()

            task.addSource(delayedFile(DevConstants.ECLIPSE_FML_SRC));
            task.addSource(delayedFile(DevConstants.FML_SOURCES));
            task.addTestSource(delayedFile(DevConstants.FML_TEST_SOURCES));

            task.addResource(delayedFile(DevConstants.ECLIPSE_FML_RES));
            task.addResource(delayedFile(DevConstants.FML_RESOURCES));
            task.addTestResource(delayedFile(DevConstants.FML_TEST_RES));

            task.dependsOn("extractNatives","createVersionProperties");
        }
View Full Code Here

Examples of net.sf.hibernate.cfg.Configuration.addResource()

        String value = (String) properties.get(key);
        if (key.startsWith("class.")) {
          config.addClass(Resources.classForName(value));
        }
        if (key.startsWith("map.")) {
        config.addResource(value);
        }
      }

      Properties props = new Properties();
      props.putAll(properties);
View Full Code Here

Examples of net.sf.mpxj.ProjectFile.addResource()

      header.setStartDate(df.parse("01/01/2003"));

      //
      // Add resources
      //
      Resource resource1 = file.addResource();
      resource1.setName("Resource1");

      Resource resource2 = file.addResource();
      resource2.setName("Resource2");
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.