Tabnine Logo
IdentityRequirementBuilder
Code IndexAdd Tabnine to your IDE (free)

How to use
IdentityRequirementBuilder
in
org.jboss.gravia.resource

Best Java code snippets using org.jboss.gravia.resource.IdentityRequirementBuilder (Showing top 4 results out of 315)

origin: org.jboss.gravia/gravia-itests-common

  @Test
  public void testRepositoryContent() throws Exception {
    Requirement freq = new IdentityRequirementBuilder("camel.core.feature", (String) null).getRequirement();
    Repository repository = ServiceLocator.getRequiredService(Repository.class);
    Collection<Capability> providers = repository.findProviders(freq);
    Assert.assertEquals("One provider", 1, providers.size());
  }
}
origin: org.jboss.gravia/gravia-resource

  public IdentityRequirementBuilder(String symbolicName, VersionRange range, Map<String, Object> atts, Map<String, String> dirs) {
    super(IdentityNamespace.IDENTITY_NAMESPACE, symbolicName);
    if (range != null) {
      getAttributes().put(IdentityNamespace.CAPABILITY_VERSION_ATTRIBUTE, range);
    }
    if (atts != null) {
      getAttributes().putAll(atts);
    }
    if (dirs != null) {
      getDirectives().putAll(dirs);
    }
  }
}
origin: org.jboss.gravia/gravia-itests-common

Requirement req = new IdentityRequirementBuilder(identity).getRequirement();
Set<ResourceHandle> result = provisioner.provisionResources(Collections.singleton(req));
origin: org.jboss.gravia/gravia-itests-common

Requirement req = new IdentityRequirementBuilder(resB.getIdentity()).getRequirement();
Set<ResourceHandle> result = provisioner.provisionResources(Collections.singleton(req));
org.jboss.gravia.resourceIdentityRequirementBuilder

Javadoc

An identity Requirement builder.

Most used methods

  • <init>
  • getAttributes
  • getDirectives
  • getRequirement

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Runner (org.openjdk.jmh.runner)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now