Examples of Features


Examples of org.apache.karaf.features.internal.model.Features

            getLog().warn(out.toString());
        }
    }

    private Features toFeatures(Collection<Bundle> addedBundles, Collection<Dependency> addedDependencys, ObjectFactory objectFactory) {
        Features features = objectFactory.createFeaturesRoot();
        Feature feature = objectFactory.createFeature();
        feature.getBundle().addAll(addedBundles);
        feature.getFeature().addAll(addedDependencys);
        features.getFeature().add(feature);
        return features;
    }
View Full Code Here

Examples of org.bouncycastle.bcpg.sig.Features

        if (p == null)
        {
            return null;
        }

        return new Features(p.isCritical(), p.getData());
    }
View Full Code Here

Examples of org.bouncycastle.bcpg.sig.Features

        list.add(new Exportable(isCritical, isExportable));
    }

    public void setFeature(boolean isCritical, byte feature)
    {
        list.add(new Features(isCritical, feature));
    }
View Full Code Here

Examples of org.jabber.etherx.streams.Features

        }
        xmlWriter.writeAttribute("to", to);
        xmlWriter.writeAttribute("from", from);

        // now lets write the features
        Features features = new Features();

        // TODO support TLS
        // features.getAny().add(new Starttls());

        //Mechanisms mechanisms = new Mechanisms();

        // TODO support SASL
        // mechanisms.getMechanism().add("DIGEST-MD5");
        // mechanisms.getMechanism().add("PLAIN");
        //features.getAny().add(mechanisms);
        features.getAny().add(new ietf.params.xml.ns.xmpp_bind.ObjectFactory().createBind());
        features.getAny().add(new ietf.params.xml.ns.xmpp_session.ObjectFactory().createSession(""));
        marshall(features);

        LOG.debug("Initial stream element sent!");
    }
View Full Code Here

Examples of org.jabber.etherx.streams.Features

        }
        xmlWriter.writeAttribute("to", to);
        xmlWriter.writeAttribute("from", from);

        // now lets write the features
        Features features = new Features();

        // TODO support TLS
        // features.getAny().add(new Starttls());

        //Mechanisms mechanisms = new Mechanisms();

        // TODO support SASL
        // mechanisms.getMechanism().add("DIGEST-MD5");
        // mechanisms.getMechanism().add("PLAIN");
        //features.getAny().add(mechanisms);
        features.getAny().add(new ietf.params.xml.ns.xmpp_bind.ObjectFactory().createBind());
        features.getAny().add(new ietf.params.xml.ns.xmpp_session.ObjectFactory().createSession(""));
        marshall(features);

        LOG.debug("Initial stream element sent!");
    }
View Full Code Here

Examples of org.jabber.etherx.streams.Features

        xmlWriter.writeAttribute("to", to);
        xmlWriter.writeAttribute("from", from);


        // now lets write the features
        Features features = new Features();

        // TODO support TLS
        //features.getAny().add(new Starttls());

        Mechanisms mechanisms = new Mechanisms();

        // TODO support SASL
        //mechanisms.getMechanism().add("DIGEST-MD5");
        //mechanisms.getMechanism().add("PLAIN");
        features.getAny().add(mechanisms);
        marshall(features);

        log.debug("Initial stream element sent!");
    }
View Full Code Here

Examples of org.jabber.etherx.streams.Features

        }
        xmlWriter.writeAttribute("to", to);
        xmlWriter.writeAttribute("from", from);

        // now lets write the features
        Features features = new Features();

        // TODO support TLS
        // features.getAny().add(new Starttls());

        //Mechanisms mechanisms = new Mechanisms();

        // TODO support SASL
        // mechanisms.getMechanism().add("DIGEST-MD5");
        // mechanisms.getMechanism().add("PLAIN");
        //features.getAny().add(mechanisms);
        features.getAny().add(new ietf.params.xml.ns.xmpp_bind.ObjectFactory().createBind());
        features.getAny().add(new ietf.params.xml.ns.xmpp_session.ObjectFactory().createSession(""));
        marshall(features);

        LOG.debug("Initial stream element sent!");
    }
View Full Code Here

Examples of org.jabber.etherx.streams.Features

        }
        xmlWriter.writeAttribute("to", to);
        xmlWriter.writeAttribute("from", from);

        // now lets write the features
        Features features = new Features();

        // TODO support TLS
        // features.getAny().add(new Starttls());

        Mechanisms mechanisms = new Mechanisms();

        // TODO support SASL
        // mechanisms.getMechanism().add("DIGEST-MD5");
        // mechanisms.getMechanism().add("PLAIN");
        features.getAny().add(mechanisms);
        marshall(features);

        LOG.debug("Initial stream element sent!");
    }
View Full Code Here

Examples of org.jamesii.asf.spdm.Features

  @Override
  protected Features extractFeatures(ParameterBlock parameters) {

    IModel model = ModelFeatureExtractor.getModelRuntime(parameters);
    Features features = new Features();

    // Look up registry for all model feature extractors
    List<FeatureExtractorFactory> featExtractFactories =
        SimSystem.getRegistry().getFactories(FeatureExtractorFactory.class);

    for (FeatureExtractorFactory featExtractFactory : featExtractFactories) {
      // Test each if applicable to this model
      if (featExtractFactory instanceof ModelFeatureExtractorFactory<?>
          && featExtractFactory.supportsParametersRuntime(parameters)) {
        ModelFeatureExtractor<?> featureExtractor =
            ((ModelFeatureExtractorFactory<?>) featExtractFactory).create(null, SimSystem.getRegistry().createContext());
        // If applicable, use it to generate features
        features.putAll(featureExtractor.extractModelFeaturesRuntime(model));
      }
    }
    return features;
  }
View Full Code Here

Examples of org.jclouds.vcloud.domain.network.Features

         this.serviceEnabled = false;
         this.natType = null;
         this.natPolicy = null;
         this.natRules = Lists.newArrayList();
      } else if (SaxUtils.equalsOrSuffix(qName, "Features")) {
         this.features = new Features(dhcpService, firewallService, natService);
         this.dhcpService = null;
         this.firewallService = null;
         this.natService = null;
      } else if (SaxUtils.equalsOrSuffix(qName, "Configuration")) {
         configuration = new OrgNetworkImpl.ConfigurationImpl(ipScope, parentNetwork, fenceMode, features);
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.