Examples of property()


Examples of org.jboss.resteasy.client.jaxrs.ResteasyWebTarget.property()

   @Test
   public void testProxy() throws Exception
   {
      ResteasyWebTarget target = client.target("http://localhost:9095");
      target.property(KeyRepository.class.getName(), repository);
      SigningProxy proxy = target.proxy(SigningProxy.class);
      String output = proxy.hello();
      proxy.postSimple("hello world");
   }
View Full Code Here

Examples of org.jboss.resteasy.client.jaxrs.internal.ClientConfiguration.property()

   public ResteasyClient build()
   {
      ClientConfiguration config = new ClientConfiguration(getProviderFactory());
      for (Map.Entry<String, Object> entry : properties.entrySet())
      {
         config.property(entry.getKey(), entry.getValue());
      }

      ExecutorService executor = asyncExecutor;

      boolean cleanupExecutor = false;
View Full Code Here

Examples of org.jboss.resteasy.spi.ResteasyProviderFactory.property()

      deployment = new ResteasyDeployment();
      deployment.setSecurityEnabled(true);
      deployment.setApplicationClass(SApp.class.getName());
      ResteasyProviderFactory factory = new ResteasyProviderFactory();
      deployment.setProviderFactory(factory);
      factory.property(SkeletonKeyApplication.SKELETON_KEY_INFINISPAN_CONFIG_FILE, "cache.xml");
      factory.property(SkeletonKeyApplication.SKELETON_KEY_INFINISPAN_CACHE_NAME, "idp-store");

      EmbeddedContainer.start(deployment);
      app = ((SApp)deployment.getApplication()).app;
   }
View Full Code Here

Examples of org.jboss.soa.esb.services.security.SecurityConfig.Builder.property()

    ConfigTree[] children = securityFragment.getChildren("property");
    for (ConfigTree configTree : children)
    {
      String propertyName = configTree.getAttribute("name");
      String propertyValue = configTree.getAttribute("value");
      builder.property(propertyName, propertyValue);
    }
    return builder.build();
  }
}
View Full Code Here

Examples of org.jboss.xb.annotations.JBossXmlChildWildcard.property()

         if (typeInfo.isCollection())
         {
            if (childWildcard.wrapper() != Object.class)
            {
               BeanInfo wrapperInfo = JBossXBBuilder.configuration.getBeanInfo(childWildcard.wrapper());
               childWildcardHandler = new ChildCollectionWildcardHandler(wrapperInfo, childWildcard.property());
            }
            else
               childWildcardHandler = ChildCollectionWildcardHandler.SINGLETON;
         }
         else
View Full Code Here

Examples of org.jboss.xb.annotations.JBossXmlGroupText.property()

               {
                  CharactersHandler textHandler;
                  if (groupText.wrapper() != Object.class)
                  {
                     BeanInfo wrapperInfo = JBossXBBuilder.configuration.getBeanInfo(groupText.wrapper());
                     textHandler = new ValueHandler(property, wrapperInfo, groupText.property());
                  }
                  else
                     textHandler = new ValueHandler(property);
                  elementTypeBinding.setSimpleType(textHandler);
               }
View Full Code Here

Examples of org.jboss.xb.annotations.JBossXmlGroupWildcard.property()

                  {
                     ChildWildcardHandler groupWildcardHandler;
                     if (groupWildcard.wrapper() != Object.class)
                     {
                        BeanInfo wrapperInfo = JBossXBBuilder.configuration.getBeanInfo(groupWildcard.wrapper());
                        groupWildcardHandler = new ChildWildcardHandler(property, wrapperInfo, groupWildcard.property());
                     }
                     else
                        groupWildcardHandler = new ChildWildcardHandler(property);

                     WildcardBinding wildcard = new WildcardBinding(schemaBinding);
View Full Code Here

Examples of org.joda.beans.Bean.property()

        ComputationTarget computationTarget = _computationTargetResolver.resolve(targetSpec, VersionCorrection.LATEST);
        Object targetValue = computationTarget.getValue();
        if (targetValue instanceof Bean) {
          Bean bean = (Bean) targetValue;
          for (String propertyName : bean.propertyNames()) {
            Property<Object> property = bean.property(propertyName);
            final long targetPropertyId = nextId(RSK_SEQUENCE_NAME);
            targetProperties.add(getTargetPropertyArgs(targetPropertyId, computationTargetId, propertyName, property.get() == null ? "NULL" : property.get().toString()));
          }
        }
      }
View Full Code Here

Examples of org.joda.time.DateTime.property()

        final DateTime endWithZone = timeRange.getEnd().withZone(TimeLineController.getJodaTimeZone());

        if (Years.yearsIn(timeRange).isGreaterThan(Years.THREE)) {
            timeUnit = DateTimeFieldType.year();
            long lower = startWithZone.property(timeUnit).roundFloorCopy().getMillis();
            long upper = endWithZone.property(timeUnit).roundCeilingCopy().getMillis();
            return new RangeDivisionInfo(timeRange, Years.yearsIn(timeRange).get(timeUnit.getDurationType()) + 1, TimeUnits.YEARS, ISODateTimeFormat.year(), lower, upper);
        } else if (Months.monthsIn(timeRange).isGreaterThan(Months.THREE)) {
            timeUnit = DateTimeFieldType.monthOfYear();
            long lower = startWithZone.property(timeUnit).roundFloorCopy().getMillis();
            long upper = endWithZone.property(timeUnit).roundCeilingCopy().getMillis();
View Full Code Here

Examples of org.joda.time.MutableDateTime.property()

                }
                Object[] array = innerMap.get(iFieldType);
                if (array == null) {
                    validValues = new HashSet<String>(32);
                    MutableDateTime dt = new MutableDateTime(0L, DateTimeZone.UTC);
                    Property property = dt.property(iFieldType);
                    int min = property.getMinimumValueOverall();
                    int max = property.getMaximumValueOverall();
                    if (max - min > 32) {  // protect against invalid fields
                        return ~position;
                    }
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.