Examples of invoke()


Examples of alt.jiapi.reflect.InstructionFactory.invoke()

        JiapiMethod method = c.addMethod(Modifier.PUBLIC, "<init>", emptySig);
        InstructionList il = method.getInstructionList();
        InstructionFactory iFactory = il.getInstructionFactory();
        il.add(iFactory.aload(0));
        il.add(iFactory.invoke(0, "java/lang/Object", "<init>", emptySig));
        il.add(iFactory.returnMethod(method));

        method = c.addMethod(Modifier.PUBLIC | Modifier.STATIC, "main", mainSig);
        il = method.getInstructionList();
        iFactory = il.getInstructionFactory();
View Full Code Here

Examples of bm.net.rpc.RemoteCall.invoke()

    {
        try
        {
            // 1. Call basemovil server ping service
            final RemoteCall rc = new RemoteCall( "LoginHandler", "ping", 0 );
            rc.invoke();
            return NET_STATUS_OK;
        }
        catch( RemoteCallException e )
        {
            return NET_STATUS_NO_SERVER;
View Full Code Here

Examples of bm.vm.Instance.invoke()

            {
                arguments[i] = ((Expression) args.elementAt( i )).run();
            }
        }
        return targetClass != null ?
               instance.invoke( targetClass, methodName, arguments ) :
               instance.invoke( methodName, arguments );
    }
}
View Full Code Here

Examples of br.gov.frameworkdemoiselle.internal.implementation.Management.invoke()

 
  public Object invoke(Class<?> managedClass , String operation , Object...  params){
    Management manager = Beans.getReference(Management.class);
    for (ManagedType type : manager.getManagedTypes()){
      if (type.getType().equals(managedClass)){
        return manager.invoke(type, operation, params);
      }
    }
   
    return null;
  }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.internal.management.Management.invoke()

    if (this.delegateInfo == null) {
      initializeMBeanInfo();
    }

    Management manager = Beans.getReference(Management.class);
    return manager.invoke(managedType, actionName, params);
  }

  /**
   * Initialize the Managed information for this instance of Managed
   */
 
View Full Code Here

Examples of ch.rasc.wampspring.support.InvocableHandlerMethod.invoke()

      try {
        Object[] arguments = null;
        if (callMessage.getArguments() != null) {
          arguments = callMessage.getArguments().toArray();
        }
        Object returnValue = invocableHandlerMethod.invoke(callMessage, arguments);
        CallResultMessage callResultMessage = new CallResultMessage(callMessage.getCallID(), returnValue);
        wampMessageSender.sendMessageToClient(sessionId, callResultMessage);
      } catch (Exception ex) {
        CallErrorMessage callErrorMessage = new CallErrorMessage(callMessage.getCallID(), "", ex.toString());
        wampMessageSender.sendMessageToClient(sessionId, callErrorMessage);
View Full Code Here

Examples of ch.softappeal.yass.core.Interceptor.invoke()

        }
      };
      final Interceptor interceptor = Interceptors.composite(invocationInterceptor, serviceInterceptor);
      @Nullable final Object value;
      try {
        value = interceptor.invoke(method, arguments, invocation);
      } catch (final Throwable t) {
        return new ExceptionReply(t);
      }
      return new ValueReply(value);
    }
View Full Code Here

Examples of ch.softappeal.yass.core.remote.Server.ServerInvocation.invoke()

  private void serverInvoke(final int requestNumber, final Request request) {
    setup.requestExecutor.execute(new Runnable() {
      @Override public void run() {
        try {
          final ServerInvocation invocation = setup.server.invocation(request);
          final Reply reply = invocation.invoke(sessionInterceptor);
          if (!invocation.oneWay) {
            write(requestNumber, reply);
          }
        } catch (final Exception e) {
          close(e);
View Full Code Here

Examples of chaschev.lang.reflect.MethodDesc.invoke()

            if (method == null) {
                throw new RuntimeException("no such method '" + name + "' " + " in class " + aClass);
            }

            return method.invoke(aClass, args);
        } catch (Exception e) {
            throw Exceptions.runtime(e);
        }
    }
View Full Code Here

Examples of chrriis.dj.nativeswing.swtimpl.components.WebBrowserFunction.invoke()

        return null;
      }
      if(nativeWebBrowser.nameToFunctionMap != null) {
        WebBrowserFunction function = nativeWebBrowser.nameToFunctionMap.get(args[0]);
        if(function != null) {
          return function.invoke(webBrowser, (Object[])args[1]);
        }
      }
      return null;
    }
  }
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.