Examples of createReference()


Examples of com.sun.sgs.service.DataService.createReference()

      this.listenerRef = null;
  }
  this.delivery = delivery;
  this.writeBufferCapacity = writeBufferCapacity;
  this.txn = ChannelServiceImpl.getTransaction();
  ManagedReference<ChannelImpl> ref = dataService.createReference(this);
  this.wrappedChannelRef =
      dataService.createReference(new ChannelWrapper(ref));
  this.channelRefId = ref.getId();
  this.coordNodeId = getLocalNodeId();
  if (logger.isLoggable(Level.FINER)) {
View Full Code Here

Examples of com.sun.sgs.service.DataService.createReference()

  this.delivery = delivery;
  this.writeBufferCapacity = writeBufferCapacity;
  this.txn = ChannelServiceImpl.getTransaction();
  ManagedReference<ChannelImpl> ref = dataService.createReference(this);
  this.wrappedChannelRef =
      dataService.createReference(new ChannelWrapper(ref));
  this.channelRefId = ref.getId();
  this.coordNodeId = getLocalNodeId();
  if (logger.isLoggable(Level.FINER)) {
      logger.log(Level.FINER, "Created ChannelImpl:{0}",
           HexDumper.toHexString(channelRefId.toByteArray()));
View Full Code Here

Examples of com.sun.sgs.service.DataService.createReference()

      logger.log(Level.FINER, "Created ChannelImpl:{0}",
           HexDumper.toHexString(channelRefId.toByteArray()));
  }
  getChannelsMap().put(name, this);
  EventQueue eventQueue = new EventQueue(this);
  eventQueueRef = dataService.createReference(eventQueue);
  getEventQueuesMap(coordNodeId).
      put(channelRefId.toString(), eventQueue);
    }

    /** Returns the data service. */
 
View Full Code Here

Examples of com.sun.sgs.service.DataService.createReference()

  /**
   * Constructs an event queue for the specified {@code channel}.
   */
  EventQueue(ChannelImpl channel) {
      DataService dataService = getDataService();
      channelRef = dataService.createReference(channel);
      queueRef = dataService.createReference(
    new ManagedQueue<ChannelEvent>());
      writeBufferAvailable = channel.getWriteBufferCapacity();
  }

View Full Code Here

Examples of com.sun.sgs.service.DataService.createReference()

   * Constructs an event queue for the specified {@code channel}.
   */
  EventQueue(ChannelImpl channel) {
      DataService dataService = getDataService();
      channelRef = dataService.createReference(channel);
      queueRef = dataService.createReference(
    new ManagedQueue<ChannelEvent>());
      writeBufferAvailable = channel.getWriteBufferCapacity();
  }

  /**
 
View Full Code Here

Examples of com.sun.xml.ws.security.secext10.ObjectFactory.createReference()

        final ObjectFactory objFac = new ObjectFactory();
        if (KEYIDENTIFIER.equals(type)){
            rElement = objFac.createKeyIdentifier((KeyIdentifierType)ref);
        }
        else if (REFERENCE.equals(type)){
            rElement = objFac.createReference((ReferenceType)ref);
        }else{
            //ToDo
        }
       
        if (rElement != null){
View Full Code Here

Examples of edu.mayo.bmi.guoqian.claml.ObjectFactory.createReference()

                     try{
                  if(clamlRefCodes != null){
                    for (RDFResource clamlRefCode : clamlRefCodes) {

                      Reference refCode = factory.createReference();
                          refCode.setClazz("in brackets");
                      String thisCode = (String)clamlRefCode.getPropertyValue(icdContentModel.getTextProperty());
                      if(thisCode.indexOf("-") >= 0){
                        thisCode = this.getCodeFromLabel(thisCode);
                      }
View Full Code Here

Examples of fr.imag.adele.apam.declarations.ComponentKind.createReference()

   
    if (! isComponent(capability))
      return null;

    ComponentKind kind  = kind((String) capability.getPropertiesAsMap().get(CST.COMPONENT_TYPE));
      return kind != null ? kind.createReference((String) capability.getPropertiesAsMap().get(CST.NAME)) : null;
  }
 
  /**
   * Convert a component kind from its internal representation
   */
 
View Full Code Here

Examples of net.percederberg.mibble.MibType.createReference()

        if (type == null) {
            return null;
        }
        try {
            if (constraint != null) {
                type = type.createReference(constraint);
            } else if (values != null) {
                type = type.createReference(values);
            } else {
                type = type.createReference();
            }
View Full Code Here

Examples of net.percederberg.mibble.MibValue.createReference()

            }
            if (value == null) {
                return null;
            }
            try {
                value = value.createReference();
            } catch (UnsupportedOperationException e) {
                throw new MibException(location, e.getMessage());
            }
            if (!(value instanceof ObjectIdentifierValue)) {
                value.setReferenceSymbol((MibValueSymbol) sym);
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.