Examples of invoke()


Examples of eu.stratosphere.nephele.util.FileLineWriter.invoke()

      e.printStackTrace();
    } catch (InterruptedException e) {
      fail();
      e.printStackTrace();
    }
    writer.invoke();

    final FileInputSplit split = new FileInputSplit(0, new Path(this.file.toURI().toString()), 0,
      this.file.length(), null);
    when(this.environment.getInputSplitProvider()).thenReturn(this.inputSplitProvider);
    when(this.inputSplitProvider.getNextInputSplit()).thenReturn(split, (FileInputSplit) null);
View Full Code Here

Examples of gcc.adapter.Adapter.invoke()

//            if (a != null)
            if (object != null && object instanceof Adapter)
            {
                Adapter a = (Adapter)object;
                //RemoteInterface skeleton = a.getRemoteInterface();
                a.invoke(request.operation, objectKey, objectIn, objectOut);

                if (objectOut.hasException())
                {
                    reply.reply_status = ReplyStatusType_1_2.USER_EXCEPTION;
                }
View Full Code Here

Examples of gcc.rmi.iiop.RemoteInterface.$invoke()

        RemoteInterface skeleton = getRemoteInterface();
        Object instance = getInstance( objectKey );

        if (instance != null)
        {
            skeleton.$invoke( methodName, objectKey, instance, input, output );
        }
        else
        {
            throw new org.omg.CORBA.OBJECT_NOT_EXIST(new String(objectKey));
        }
View Full Code Here

Examples of groovy.lang.MetaMethod.invoke()

    B builder = ctx.getBuilder();
    S stack = ctx.getStack();
    Object[] args = ctx.getArgs();
    String name = ctx.getMethodName();
   
    if (method != null) return method.invoke(builder, args);
   
    Object value = null;
    Map<Object, Object> parameters = null;
    Closure closure = null;
   
View Full Code Here

Examples of hermes.HermesDispatcher.invoke()

    synchronized (dispatchers) {
      for (Iterator iter = dispatchers.entrySet().iterator(); iter.hasNext();) {
        Map.Entry entry = (Map.Entry) iter.next();
        HermesDispatcher dispatcher = (HermesDispatcher) entry.getValue();

        dispatcher.invoke(runnable);
      }
    }
  }

  /**
 
View Full Code Here

Examples of hu.akarnokd.reactive4java.base.Action0.invoke()

      public Closeable register(Observer<? super T> observer) {
        final Action0 a = subscribe.invoke(observer);
        return new Closeable() {
          @Override
          public void close() {
            a.invoke();
          }
        };
      }
    };
  }
View Full Code Here

Examples of it.hotel.aspects.AddMultiLingualInterceptor.invoke()

   
    try {
      expect(invoke.getArguments()).andReturn(new Object[] {(Object)hotel});
      expect(invoke.proceed()).andReturn(null);
      replay(invoke);
      interceptor.invoke(invoke);
     
    }catch(Throwable t){
      assertTrue(false);
    }
   
View Full Code Here

Examples of it.hotel.aspects.RemoveMultiLingualInterceptor.invoke()

    replay(labelManager);
    replay(localeContainer);
    replay(invoke);
   
    try {
      interceptor.invoke(invoke)
    }catch (Throwable t){
      throw(t);
    }
   
    verify(labelManager);
View Full Code Here

Examples of it.javalinux.wise.core.client.WSMethod.invoke()

            WSMethod wsMethod = getWSMethodFromEndpoint(operationName, endpoint);
   
            InvocationResult result;
            try
            {
                result = wsMethod.invoke(payload, smooksRequestMapper);
            }
            catch (final WiseException e)
            {
                if (logger.isDebugEnabled())
                {
View Full Code Here

Examples of java.beans.EventHandler.invoke()

      }
    harness.check(target.flag == false, "Test invoke");

    try
      {
  eh.invoke(null, listen1, new Object[] {ev});
      }
    catch (Exception e)
      {
  harness.fail("Invoke listen1 failed " + e.toString());
      }
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.