Examples of create()


Examples of com.hp.hpl.jena.sparql.engine.QueryEngineFactory.create()

        if ( input == null )
            input = BindingRoot.create() ;
        QueryEngineFactory f = findFactory(query, dataset, context) ;
        if ( f == null )
            return null ;
        return f.create(query, dataset, input, context) ;
    }
    // ---------------- Internal routines
   
    // Make query
   

Examples of com.hp.hpl.jena.sparql.function.FunctionFactory.create()

        if ( ff == null )
        {
            functionBound = true ;
            throw new ExprEvalException("URI <"+functionIRI+"> not found as a function") ;
        }
        function = ff.create(functionIRI) ;
        function.build(functionIRI, args) ;
        functionBound = true ;
    }
   
    private FunctionRegistry chooseRegistry(Context context)

Examples of com.hp.hpl.jena.sparql.pfunction.PropertyFunctionFactory.create()

    public static Procedure build(Node procId, PropFuncArg subjArg, PropFuncArg objArg, ExecutionContext execCxt)
    {
        Context context = execCxt.getContext() ;
        PropertyFunctionRegistry reg = PropertyFunctionRegistry.chooseRegistry(context) ;
        PropertyFunctionFactory f = reg.get(procId.getURI()) ;
        PropertyFunction pf = f.create(procId.getURI()) ;
        pf.build(subjArg, procId, objArg, execCxt) ;
        //Make wrapper
        return new ProcedurePF(pf, subjArg, procId, objArg) ;
    }
   

Examples of com.hp.hpl.jena.tdb.base.record.RecordFactory.create()

        RecordFactory rf = bpt1.getRecordFactory() ;
       
        Iterator<Record> iter1 = bpt1.iterator() ;
        long counter = 0 ;
        // Use the same slot each time.
        Record r2 = rf.create() ;
       
        for ( ; iter1.hasNext(); )
        {
            counter++ ;
            Record r = iter1.next() ;

Examples of com.hp.hpl.jena.tdb.base.recordbuffer.RecordBufferPageMgr.create()

    @Test public void recBufferPage01()
    {
        BlockMgr blkMgr = makeBlockMgr() ;
        blkMgr.beginUpdate() ;
        RecordBufferPageMgr rpm = new RecordBufferPageMgr(factory, blkMgr) ;
        RecordBufferPage page = rpm.create() ;
        fill(page.getRecordBuffer(), 10, 20, 30) ;
        assertEquals(10, get(page, 0)) ;
        assertEquals(20, get(page, 1)) ;
        assertEquals(30, get(page, 2)) ;
        rpm.release(page) ;

Examples of com.iCo6.system.Accounts.create()

        Accounts accounts = new Accounts();
        Player player = event.getPlayer();

        if(player != null)
            if(!accounts.exists(player.getName()))
                accounts.create(player.getName());
    }
}

Examples of com.ibm.commons.runtime.impl.ManagedBeanFactory.BeanFactory.create()

          if(factory!=null) {
            Map<String,Object> map = getScope(factory.getScope());
            synchronized(map) {
              Object o = map.get(beanName);
              if(o==null) {
                o = factory.create(getClassLoader());
                if(o!=null) {
                  map.put(beanName, o);
                }
              }
              return o;

Examples of com.ibm.demo.entity.CustomerHomeRemote.create()

    } catch (NamingException ne){
      System.out.println("Naming Exception: " + ne.getMessage());
    }
   
    try{
      customer = customerHome.create(id, name, sssNo, address, birthdate, annualSalary, loanAmount);
      submit_count++;
    } catch(RemoteException re){
      System.out.println("Remote Exception: " + re.getMessage());
    } catch(CreateException ce){
      System.out.println("Create Exception: " + ce.getMessage());

Examples of com.ibm.demo.entity.bmp.CustomerHomeRemote.create()

                Context initial = new InitialContext();
                NamingEnumeration n = initial.list(initial.getNameInNamespace());
                while(n.hasMoreElements()) System.out.println(n.next());
                Object objref = initial.lookup("java:comp/env/CustomerHomeRemote");
                CustomerHomeRemote home = (CustomerHomeRemote) PortableRemoteObject.narrow(objref,CustomerHomeRemote.class);
                CustomerRemote customer = home.create(new Integer(txtMsg.getIntProperty("customerID")),txtMsg.getStringProperty("customerName"),
                    txtMsg.getStringProperty("customerSSS"),txtMsg.getStringProperty("customerAddress"), new SimpleDateFormat("mm/dd/yyyy").parse(txtMsg.getStringProperty("birthdate")),
            new Double(txtMsg.getDoubleProperty("customerSalary")),new Double(txtMsg.getDoubleProperty("customerLoan")));
                logger.info("SUCCESS!!!");
               
            } else {

Examples of com.ibm.demo.session.stateful.StatefulLoanManagerHomeRemote.create()

      Context jndiContext = new InitialContext();  
      Object ref = jndiContext.lookup("StatefulLoanManagerHomeRemote");  
      StatefulLoanManagerHomeRemote home = (StatefulLoanManagerHomeRemote)
                      PortableRemoteObject.narrow(ref, StatefulLoanManagerHomeRemote.class);

      loanmanager = home.create();
     
    } catch(CreateException ce){
      ce.printStackTrace();
    } catch(RemoteException re){
      re.printStackTrace();
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.