Examples of Descriptor


Examples of org.jbpm.wire.Descriptor

     
      // if there are objectNames specified
      if (objectNames!=null) {
        // subscribe to the descriptors for the all objectNames
        for (String objectName: objectNames) {
          Descriptor descriptor = wireDefinition.getDescriptor(objectName);
          subscribe(listener, descriptor);
        }
       
      // if no objectNames are specified, subscribe to all the descriptors
      } else {
View Full Code Here

Examples of org.jnode.apps.vmware.disk.descriptor.Descriptor

    }

    @Override
    public Extent createExtent(FileDescriptor fileDescriptor, ExtentDeclaration extentDecl)
        throws IOException, UnsupportedFormatException {
        Descriptor desc = (fileDescriptor == null) ? null : fileDescriptor.getDescriptor();
        return createMainExtent(desc, extentDecl);
    }
View Full Code Here

Examples of org.servicemix.jbi.deployment.Descriptor

    public synchronized ObjectName loadNewInstaller(String installJarURL) {
        ObjectName result = null;
        try {
            File tmpDir = AutoDeploymentService.unpackLocation(environmentContext.getTmpDir(), installJarURL);
            if (tmpDir != null) {
                Descriptor root = AutoDeploymentService.buildDescriptor(tmpDir);
                if (root != null && root.getComponent() != null) {
                    String componentName = root.getComponent().getIdentification().getName();
                    if (!installers.containsKey(componentName)) {
                        InstallerMBeanImpl installer = doInstallArchive(tmpDir, root);
                        if (installer != null) {
                            result = installer.getObjectName();
                            installers.put(componentName, installer);
View Full Code Here

Examples of org.spout.vanilla.component.entity.misc.Descriptor

      player.sendMessage("Could not find a near Entity you are looking at.");
      return;
    }

    // Send entity information
    Descriptor desc = nearest.get(Descriptor.class);
    if (desc == null) {
      player.sendMessage("Selected Entity: Unknown");
    } else {
      player.sendMessage("Selected Entity: " + desc.getDescription());
    }

    Object currentValue = nearest.getData().get(key);
    if (value == null || value.isEmpty()) {
      if (nearest.getData().containsKey(key)) {
View Full Code Here

Examples of org.springframework.hateoas.alps.Descriptor

  public Alps convert(RootResourceInformation resourceInformation) {

    Class<?> type = resourceInformation.getDomainType();
    List<Descriptor> descriptors = new ArrayList<Descriptor>();

    Descriptor representationDescriptor = buildRepresentationDescriptor(type);

    descriptors.add(representationDescriptor);

    for (HttpMethod method : resourceInformation.getSupportedMethods(ResourceType.COLLECTION)) {
View Full Code Here

Examples of org.springsource.ide.eclipse.commons.content.core.util.Descriptor

      Map<String, TemplateCategory> pathToCategory = new HashMap<String, TemplateCategory>();
      for (Object obj : templates) {
        if ((obj instanceof Template)) {
          template = (Template) obj;

          Descriptor descriptor = template.getItem().getLocalDescriptor();
          if (descriptor == null) {
            descriptor = template.getItem().getRemoteDescriptor();
          }
          String categoryPath = descriptor.getCategory();
          if (categoryPath == null) {
            elements.add(template);
          }
          else {
            String[] categoryPaths = categoryPath.split("/");
View Full Code Here

Examples of org.strategoxt.imp.runtime.dynamicloading.Descriptor

      if(table == null)
        throw new BadDescriptorException("Could not load parse table from " + TABLE + " (not found in plugin: " + getPluginLocation() + ")");
     
      descriptorStream = imposeRegisteredExtensions(descriptorStream);
     
      Descriptor descriptor = DescriptorFactory.load(descriptorStream, table, filesystem ? org.eclipse.core.runtime.Path.fromPortableString("./") : null);
      descriptor.setAttachmentProvider(SugarJParseControllerGenerated.class);
      return descriptor;
    }
    catch(BadDescriptorException exc)
    {
      org.strategoxt.imp.runtime.Environment.logException("Bad descriptor for " + LANGUAGE + " plugin", exc);
View Full Code Here

Examples of org.switchyard.config.model.Descriptor

     * @return the Model
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (BINDING_TCP.equals(name)) {
            return new V1CamelNettyTcpBindingModel(config, desc);
        } else if (BINDING_UDP.equals(name)) {
            return new V1CamelNettyUdpBindingModel(config, desc);
        }
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.