Examples of action()


Examples of com.starflow.wf.engine.handle.IHandle.action()

        StarFlowState.ACT_INST_RUNING, new Date());
   
    //进入异常状态,等待人工干预,不继续往下运行
    IHandle handle = ActivityHandlerFactory.buildHandler(activityInst.getActivityType());
    try {
      handle.action(event, activityInst);
    } catch (InterruptStrategyException e) {
      logger.error("非人工环节执行逻辑失败", e);
      return;
    } finally {
      triggerFilterExecuter(event, activityInst);
View Full Code Here

Examples of eu.curia.suivi2.datamanager.Reader.action()

      Thread thReader = new Thread() {
        @SuppressWarnings("boxing")
        @Override
        public void run() {
          try {
            reader.action();
          } catch (DataAccessException dae) {
            // Check if there is a lock exception...
            if (dae instanceof TopLinkOptimisticLockingFailureException) {
              System.out
                  .printf(
View Full Code Here

Examples of eu.curia.suivi2.datamanager.ReaderLock.action()

        }
      };
      Thread thReaderLock = new Thread() {
        @Override
        public void run() {
          readerLock.action();
        }
      };
      Thread thUpdater = new Thread() {
        @Override
        public void run() {
View Full Code Here

Examples of eu.curia.suivi2.datamanager.Updater.action()

      Thread thUpdater = new Thread() {
        @SuppressWarnings("boxing")
        @Override
        public void run() {
          try {
            updater.action();
            System.out.printf(
                "THREAD ID        : %s --> Data updated !!!\n",
                Thread.currentThread().getId());
          } catch (DataAccessException dae) {
            // Check if there is a lock exception...
View Full Code Here

Examples of eu.curia.suivi2.datamanager.UpdaterNoWait.action()

        @SuppressWarnings("boxing")
        @Override
        public void run() {

          try {
            updaterNoWait.action();
            System.out.printf(
                "THREAD ID        : %s --> Data updated !!!\n",
                Thread.currentThread().getId());
          } catch (DataAccessException dae) {
            // Check if there is a lock exception...
View Full Code Here

Examples of fr.imag.adele.apam.pax.test.lifecycle.Service.action()

    Implementation implem = waitForImplByName(null, "LifeCycleTest");
    Instance instance = implem.createInstance(null,configuration);
   
    Service service = (Service) instance.getServiceObject();
    service.action();
   
    Assert.assertNotNull("instance must not be destroyed",CST.apamResolver.findInstByName(null,configuration.get("instance.name")));
  }

  @Test
View Full Code Here

Examples of fr.imag.adele.apam.pax.test.lifecycle.Service.action()

    Instance instance = implem.createInstance(null,configuration);

    instance.setProperty("selfDestroy",true);

    Service service = (Service) instance.getServiceObject();
    service.action();
   
    Assert.assertNull("instance must be destroyed",CST.apamResolver.findInstByName(null,configuration.get("instance.name")));
  }

  @Test
View Full Code Here

Examples of javax.jws.WebMethod.action()

    {
        WebMethod webMethod = (WebMethod) method.getAnnotation(WebMethod.class);
        if (webMethod != null)
        {
            WebMethodAnnotation annotation = new WebMethodAnnotation();
            annotation.setAction(webMethod.action());
            annotation.setOperationName(webMethod.operationName());
            annotation.setExclude(webMethod.exclude());
           
            return annotation;
        }
View Full Code Here

Examples of javax.jws.WebMethod.action()

            operationName = webMethod.operationName().length() > 0
                ? webMethod.operationName() : operationName;
        }

        javaMethod.setName(operationName);
        javaMethod.setSoapAction(webMethod.action());

       
        if (isAsynMethod(method)) {
            return;
        }
View Full Code Here

Examples of javax.jws.WebMethod.action()

            method) {
        WebMethod webMethod = (WebMethod)ConverterUtils.getAnnotation(WebMethod.class,
                                                                      method);
        if (webMethod != null) {
            WebMethodAnnot wmAnnot = WebMethodAnnot.createWebMethodAnnotImpl();
            wmAnnot.setAction(webMethod.action());
            wmAnnot.setExclude(webMethod.exclude());
            wmAnnot.setOperationName(webMethod.operationName());
            mdc.setWebMethodAnnot(wmAnnot);
        }
    }
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.