Examples of make()


Examples of jifx.transactionManager.transaction.TMInformation.make()

      return;
    }
    try {
        if (configuration != null){
          TMInformation transactionManagerInformation = new TMInformation(trmName);
          transactionManagerInformation.make(configuration);
          TransactionManager tm =  new TransactionManager(jndi, transactionManagerInformation, this);
          new Thread(tm).start();
   
          AttributeChangeNotificationFilter nf = new AttributeChangeNotificationFilter();
          nf.enableAttribute("TMState");
View Full Code Here

Examples of org.apache.cassandra.db.composites.CellNameType.make()

         * possible key having a given token. A fix would be to actually store the token along the key in the
         * indexed row.
         */
        final AbstractBounds<RowPosition> range = filter.dataRange.keyRange();
        CellNameType type = index.getIndexCfs().getComparator();
        final Composite startKey = range.left instanceof DecoratedKey ? type.make(((DecoratedKey)range.left).key) : Composites.EMPTY;
        final Composite endKey = range.right instanceof DecoratedKey ? type.make(((DecoratedKey)range.right).key) : Composites.EMPTY;

        final CellName primaryColumn = baseCfs.getComparator().cellFromByteBuffer(primary.column);

        return new ColumnFamilyStore.AbstractScanIterator()
View Full Code Here

Examples of org.apache.cassandra.db.composites.CompoundDenseCellNameType.make()

        List<AbstractType<?>> types = new ArrayList<>();
        types.add(Int32Type.instance);
        types.add(Int32Type.instance);
        types.add(Int32Type.instance);
        CompoundDenseCellNameType nameType = new CompoundDenseCellNameType(types);
        return nameType.make((Object[]) components);
    }

    private static List<ByteBuffer> columnNames(Integer ... components)
    {
        List<ByteBuffer> names = new ArrayList<>(components.length);
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.make()

                     * findBaseProperty()
                     */
                    if (getExplicit(propId) != null) {
                        return;
                    }
                    prop = propertyMaker.make(this, attributeValue, parentFO);
                } else { // e.g. "leader-length.maximum"
                    Property baseProperty =
                        findBaseProperty(attributes, parentFO, propId,
                                basePropertyName, propertyMaker);
                    prop = propertyMaker.make(baseProperty, subpropId,
View Full Code Here

Examples of org.apache.jdbm.DBMaker.make()

    //d.disableCache();
    if(readonly){
      d.disableLocking();
      d.readonly();
    }
    db = d.make();
   
      // create or load hashtable from given file
    map = db.getHashMap(tablename);
    if(map == null)
      map = db.createHashMap(tablename);
View Full Code Here

Examples of org.apache.shindig.gadgets.uri.ProxyUriManager.make()

    Integer expires = 3;
    expect(config.getExpires()).andReturn(expires).once();
    expect(config);
    Capture<List<ProxyUriManager.ProxyUri>> cap = new Capture<List<ProxyUriManager.ProxyUri>>();
    Capture<Integer> intCap = new Capture<Integer>();
    expect(uriManager.make(capture(cap), capture(intCap))).andReturn(returned).once();
    replay(config, uriManager);
    Gadget gadget = gadget();

    ProxyingVisitor rewriter = new ProxyingVisitor(config, uriManager,
        ProxyingVisitor.Tags.SCRIPT,
View Full Code Here

Examples of org.apache.velocity.tools.generic.AlternatorTool.make()

        assertStringEquals("red", auto.getNext());
        assertStringEquals("blue", auto);
        assertStringEquals("yellow", auto);
        assertStringEquals("red", auto);
        /* test manual alternator (use 'make()' and not 'manual()' since we define the default to be manual in toolbox.xml*/
         Alternator manual = alternatorTool.make(new String[] {"red","blue","yellow"});
        assertStringEquals("red", manual);
        assertStringEquals("red", manual);
        manual.shift();
        assertStringEquals("blue", manual);
        manual.shift();
View Full Code Here

Examples of org.hibernate.cfg.annotations.PropertyBinder.make()

    PropertyBinder binder = new PropertyBinder();
    binder.setName( inferredData.getPropertyName() );
    binder.setValue( comp );
    binder.setProperty( inferredData.getProperty() );
    binder.setPropertyAccessorName( inferredData.getDefaultAccess() );
    Property prop = binder.make();
    propertyHolder.addProperty( prop );
  }

  public static Component fillComponent(
      PropertyHolder propertyHolder, PropertyData inferredData,
View Full Code Here

Examples of org.hibernate.cfg.annotations.PropertyBinder.make()

      PropertyBinder binder = new PropertyBinder();
      binder.setName( inferredData.getPropertyName() );
      binder.setValue( id );
      binder.setPropertyAccessorName( inferredData.getDefaultAccess() );
      binder.setProperty( inferredData.getProperty() );
      Property prop = binder.make();
      rootClass.setIdentifierProperty( prop );
    }
  }

  private static void setupComponentTuplizer(XProperty property, Component component) {
View Full Code Here

Examples of org.hibernate.cfg.annotations.PropertyBinder.make()

      binder.setUpdatable( columns[0].isUpdatable() );
    }
    binder.setPropertyAccessorName( inferredData.getDefaultAccess() );
    binder.setCascade( cascadeStrategy );
    binder.setProperty(inferredData.getProperty());
    Property prop = binder.make();
    //composite FK columns are in the same table so its OK
    propertyHolder.addProperty( prop, columns );
  }

  protected static void defineFetchingStrategy(ToOne toOne, XProperty property) {
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.