Examples of createReference()


Examples of com.avaje.ebeaninternal.server.deploy.BeanDescriptor.createReference()

        ref = query.findUnique();

      } else {
        // use the default reference options
        ref = desc.createReference(null, id);
      }

      if (ctx != null && (ref instanceof EntityBean)) {
        // Not putting a vanilla reference in the persistence context
        ctx.put(id, ref);
View Full Code Here

Examples of com.caucho.quercus.marshal.MarshalFactory.createReference()

          }

          Class<?> argType = _param[i + envOffset];

          if (isReference) {
            _marshalArgs[i] = marshalFactory.createReference();

            if (! Value.class.equals(argType)
                && ! Var.class.equals(argType)) {
              throw new QuercusException(L.l("reference must be Value or Var for {0}",
                                             _name));
View Full Code Here

Examples of com.sleepycat.je.tree.BIN.createReference()

                 */
                BIN splitBin = isDup ?
                    searchForBIN(db, mainKey, key.getKey()) :
                    searchForBIN(db, key.getKey(), null);
                if (splitBin != null) {
                    BINReference splitBinRef = splitBin.createReference();
                    splitBinRef.addDeletedKey(key);
        compressBin(db, splitBin, splitBinRef, tracker);
                }
            }
        }
View Full Code Here

Examples of com.sun.corba.ee.spi.oa.rfm.ReferenceFactory.createReference()

            repositoryId, policies, locator ) ;

        // arbitrary
        final byte[] oid = { 0, 3, 5, 7, 2, 37, 42 } ;

        final org.omg.CORBA.Object ref = rf.createReference( oid ) ;
        return ref ;
    }

    @Override
    public void initializeRemoteNaming(Remote remoteNamingProvider)
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.data.handlers.DataHandler.createReference()

               "ProtocolImpl.PROCESS MESSAGE["+msg+"]TID="+msg.getTransactionID()+" on connection "+con);
               }
   
                // OK generate a ref. This checks message size and
                // will be needed for later operations
                ref = handler.createReference(msg, d.getDestinationUID(), con, isadmin);
   
                // dont bother calling route if there are no messages
                //
                // to improve performance, we route and later forward
                route = handler.queueMessage(d, ref, transacted);
View Full Code Here

Examples of com.sun.sgs.app.DataManager.createReference()

            this.sender = sender;
            this.count = count;
           
            // create managed references
            DataManager dm = AppContext.getDataManager();
            opsRef = dm.createReference(new OpsList());
        }
       
        public void startRevalidate() {   
        }
       
View Full Code Here

Examples of com.sun.sgs.app.DataManager.createReference()

        // must save a ManagedReference to the item.

        DataManager dataManager = AppContext.getDataManager();
        dataManager.markForUpdate(this);

        return items.add(dataManager.createReference(item));
    }

    /**
     * Adds a player to this room.
     *
 
View Full Code Here

Examples of com.sun.sgs.app.DataManager.createReference()

            new Object[] { player, this });

        DataManager dataManager = AppContext.getDataManager();
        dataManager.markForUpdate(this);

        return players.add(dataManager.createReference(player));
    }

    /**
     * Removes a player from this room.
     *
 
View Full Code Here

Examples of com.sun.sgs.app.DataManager.createReference()

            new Object[] { player, this });

        DataManager dataManager = AppContext.getDataManager();
        dataManager.markForUpdate(this);

        return players.remove(dataManager.createReference(player));
    }

    /**
     * Returns a description of what the given player sees in this room.
     *
 
View Full Code Here

Examples of com.sun.sgs.app.DataManager.createReference()

     */
    protected void setSession(ClientSession session) {
        DataManager dataMgr = AppContext.getDataManager();
        dataMgr.markForUpdate(this);

        currentSessionRef = dataMgr.createReference(session);

        logger.log(Level.INFO,
            "Set session for {0} to {1}",
            new Object[] { this, session });
    }
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.