Examples of callback()


Examples of com.alibaba.jstorm.client.metric.MetricCallback.callback()

      try{
            for (Entry<String, T> entry : metrics.entrySet()) {
              name = entry.getKey();
                MetricCallback callback = callbacks.get(entry.getValue());
                if (callback != null)
                    callback.callback(entry.getValue());
            }
      } catch (Exception e) {
        logger.error("Error when excuting the callbacks defined by user. CallBack Name=" + name, e);
      }
    }
View Full Code Here

Examples of com.jada.order.payment.PaymentEngine.callBack()

      ShoppingCart shoppingCart = ShoppingCart.getSessionInstance(request, true);
      PaymentEngine paymentEngine = shoppingCart.getPaymentEngine();
      try {
        ContentBean contentBean = getContentBean(request);
        if (paymentEngine != null) {
          paymentEngine.callBack(request, shoppingCart, contentBean);
          if (paymentEngine.isProvideCustomer()) {
          }
        }
        shoppingCart.recalculate(contentBean);
      }
View Full Code Here

Examples of it.eng.spago.dispatching.service.list.basic.IFaceBasicListService.callback()

    TracerSingleton.log(
      Constants.NOME_MODULO,
      TracerSingleton.DEBUG,
      "KFDelegatedBasicListService::service: pagedListNumber [" + pagedListNumber + "]");
    listService.getList().clearDynamicData();
    listService.callback(request, response, listService.getList(), pagedListNumber);
    SourceBean pagedList = listService.getList().getPagedList(pagedListNumber);
    if (pagedList == null) {
      TracerSingleton.log(
        Constants.NOME_MODULO,
        TracerSingleton.WARNING,
View Full Code Here

Examples of jweblite.util.callback.AttributeCallback.callback()

    }
    // to string
    for (String attrName : additionalAttrMap.keySet()) {
      Object attrValue = additionalAttrMap.get(attrName);
      if (additionAttrValueRenderer != null) {
        attrValue = additionAttrValueRenderer.callback(attrName,
            attrValue);
      }
      if (attrValue != null) {
        String attr = String
            .format("%s=\"%s\"", attrName, StringEscapeUtils
View Full Code Here

Examples of net.aufdemrand.denizen.scripts.queues.ScriptQueue.callBack()

        // Setup a callback if the queue is being waited on
        if (scriptEntry.shouldWaitFor()) {
            // Record the ScriptEntry
            final ScriptEntry se = scriptEntry;
            queue.callBack(new Runnable() {
                @Override
                public void run() {
                    se.setFinished(true);
                }
            });
View Full Code Here

Examples of org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.NamedCallback.callback()

   
    if(count.decrementAndGet() == 0) {
      NamedCallback c = callback.getAndSet(null);
      if(c != null) {
        PersistenceBundleManager.unregister(reg.getAndSet(null));
        c.callback(name);
      }
    }
     
  }
View Full Code Here

Examples of org.apache.aries.jpa.container.impl.EntityManagerFactoryManager.NamedCallback.callback()

    //We will already be unregistered
    reg.set(null);
    NamedCallback c = callback.getAndSet(null);
    //If there was a callback then call it in case time hasn't run out.
    if(c != null) {
      c.callback(name);
    }
  }

}
View Full Code Here

Examples of org.apache.tuscany.sca.vtest.javaapi.conversation.callback.accessing.AServiceCallback.callBack()

        callback.getService().callBack(someState);
    }

    public void testCallBack2(String someState) {
        AServiceCallback callback = componentContext.getRequestContext().getCallback();
        callback.callBack(someState);
    }

}
View Full Code Here

Examples of org.apache.tuscany.sca.vtest.javaapi.conversation.callback.accessing.AServiceCallback.callBack()

        callback.getService().callBack(someState);
    }

    public void testCallBack2(String someState) {
        AServiceCallback callback = componentContext.getRequestContext().getCallback();
        callback.callBack(someState);
    }

}
View Full Code Here

Examples of org.apache.tuscany.sca.vtest.javaapi.conversation.callback.id.AServiceCallback.callBack()

        callback.getService().callBack(someState);
    }

    public void testCallBack2(String someState) {
        AServiceCallback callback = componentContext.getRequestContext().getCallback();
        callback.callBack(someState);
    }

}
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.