Examples of properties()


Examples of org.infinispan.configuration.cache.IndexingConfiguration.properties()

      IndexingConfiguration cfg = new ConfigurationBuilder()
              .indexing().index(Index.ALL).autoConfig(true)
              .create();

      assertFalse(cfg.properties().isEmpty());
      assertEquals(cfg.properties().get("hibernate.search.default.directory_provider"), "filesystem");
   }

   @Test
   public void testDistWitAutoConfig() {
      IndexingConfiguration cfg = new ConfigurationBuilder()
View Full Code Here

Examples of org.infinispan.configuration.cache.IndexingConfiguration.properties()

      IndexingConfiguration cfg = new ConfigurationBuilder()
              .clustering().cacheMode(CacheMode.DIST_SYNC)
              .indexing().index(Index.ALL).autoConfig(true)
              .create();

      assertFalse(cfg.properties().isEmpty());
      assertEquals(cfg.properties().get("hibernate.search.default.directory_provider"), "infinispan");
   }

   @Test
   public void testOverride() {
View Full Code Here

Examples of org.infinispan.configuration.cache.IndexingConfiguration.properties()

              .clustering().cacheMode(CacheMode.DIST_SYNC)
              .indexing().index(Index.ALL).autoConfig(true)
              .create();

      assertFalse(cfg.properties().isEmpty());
      assertEquals(cfg.properties().get("hibernate.search.default.directory_provider"), "infinispan");
   }

   @Test
   public void testOverride() {
      String override = "hibernate.search.default.exclusive_index_use";
View Full Code Here

Examples of org.infinispan.configuration.cache.IndexingConfiguration.properties()

              .indexing()
              .index(Index.ALL)
              .autoConfig(true)
              .addProperty(override, "false").create();

      assertEquals(cfg.properties().get(override), "false");
   }


}
View Full Code Here

Examples of org.jboss.bootstrap.api.as.config.JBossASServerConfig.properties()

      // This cast to object first is to workaround the JDK Bug: http://bugs.sun.com/view_bug.do?bug_id=6548436
      final Object jdk6Bug6548436Hack = (Object) server.getConfiguration();
      JBossASServerConfig config = (JBossASServerConfig) jdk6Bug6548436Hack;

      // Set JBOSS_HOME and properties
      config.properties(props).jbossHome(jbossHome);

      // Make a shutdown hook
      SecurityActions.addShutdownHook(new ShutdownHook(server, loadingCl));

      try
View Full Code Here

Examples of org.jboss.dna.graph.request.CreateNodeRequest.properties()

        assertThat(parentPath, is(expectedPath.getParent()));
        assertThat(createNode.named(), is(expectedPath.getLastSegment().getName()));

        if (properties.length > 0) {
            Map<Name, Property> propertiesByName = new HashMap<Name, Property>();
            for (Property prop : createNode.properties()) {
                propertiesByName.put(prop.getName(), prop);
            }
            for (String propertyStr : properties) {
                if (propertyStr == "any properties") {
                    propertiesByName.clear();
View Full Code Here

Examples of org.jboss.dna.graph.request.UpdatePropertiesRequest.properties()

                for (Property property : create) {
                    details.addProperty(property);
                }
            } else if (change instanceof UpdatePropertiesRequest) {
                UpdatePropertiesRequest update = (UpdatePropertiesRequest)change;
                for (Map.Entry<Name, Property> entry : update.properties().entrySet()) {
                    Name propName = entry.getKey();
                    Property property = entry.getValue();

                    if (property != null) {
                        if (update.isNewProperty(propName)) {
View Full Code Here

Examples of org.jboss.managed.api.annotation.ManagementObject.properties()

      ManagementProperties propertyType = ManagementProperties.ALL;
      Set<String> classProperties = null;
      if (managementObject != null)
      {
         propertyType = managementObject.properties();
         if(propertyType == ManagementProperties.CLASS || propertyType == ManagementProperties.CLASS_AND_EXPLICIT)
         {
            classProperties = new HashSet<String>();
            for(ManagementProperty mp : managementObject.classProperties())
            {
View Full Code Here

Examples of org.jfrog.build.api.builder.ModuleBuilder.properties()

            logger.warn("Skipping Artifactory Build-Info module initialization: Null project.");
            return;
        }
        ModuleBuilder module = new ModuleBuilder();
        module.id(getModuleIdString(project.getGroupId(), project.getArtifactId(), project.getVersion()));
        module.properties(project.getProperties());

        currentModule.set(module);

        currentModuleArtifacts.set(Sets.<Artifact>newHashSet());
        currentModuleDependencies.set(Sets.<Artifact>newHashSet());
View Full Code Here

Examples of org.jitterbit.integration.jms.PropertiesDescriptor.properties()

    @Override
    public void applyTo(JmsMessage m) throws IntegrationDataPanelException {
        try {
            MessagePropertiesDescriptor descriptor = new MessagePropertiesDescriptor();
            PropertiesDescriptor tableData = table.getCurrentData();
            for (MessageProperty p : tableData.properties()) {
                String defVal = tableData.getDefaultValue(p);
                descriptor.addProperty(p, defVal);
            }
            m.setUserDefinedProperties(descriptor);
        } catch (IllegalArgumentException ex) {
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.