Examples of invoke()


Examples of org.fife.ui.rsyntaxtextarea.templates.CodeTemplate.invoke()

            CodeTemplate template =  manager==null ? null :
                          manager.getTemplate(rsta);

            // A non-null template means modify the text to insert!
            if (template!=null) {
              template.invoke(rsta);
            }

            // No template - insert default text.  This is
            // exactly what DefaultKeyTypedAction does.
            else {
View Full Code Here

Examples of org.fishwife.jrugged.PerformanceMonitor.invoke()

        PerformanceMonitor perfMon = new PerformanceMonitor();
        final FixedDelayPerformer performer = new FixedDelayPerformer(50L);

        long startDelay = System.currentTimeMillis();
        for(int i=0; i<500; i++) {
            perfMon.invoke(performer);
        }
        long endDelay = System.currentTimeMillis();

        long start = System.currentTimeMillis();
        for(int i=0; i<500; i++) {
View Full Code Here

Examples of org.fishwife.jrugged.ServiceRetrier.invoke()

        }

        ServiceRetrier serviceRetrier =
                new ServiceRetrier(retryDelayMillies, maxTries, doubleDelay, throwCauseException, retryOn);

        return serviceRetrier.invoke(
                new Callable<Object>() {
                    public Object call() throws Exception {
                        try {
                            return pjp.proceed();
                        }
View Full Code Here

Examples of org.fishwife.jrugged.ServiceWrapper.invoke()

            return invocation.proceed();
        }
        else {
            ServiceWrapper wrapper = methodMap.get(methodName);

            return wrapper.invoke(new Callable<Object>() {
                    public Object call() throws Exception {
                        try {
                            return invocation.proceed();
                        } catch (Throwable e) {
                            if (e instanceof Exception)
View Full Code Here

Examples of org.gatein.pc.api.PortletInvoker.invoke()

   public PortletInvocationResponse invoke(PortletInvocation invocation) throws PortletInvokerException
   {
      PortletContext compoundPortletContext = invocation.getTarget();
      PortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
      return federated.invoke(invocation);
   }

   public PortletContext createClone(PortletStateType stateType, PortletContext compoundPortletContext) throws PortletInvokerException
   {
      PortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext);
View Full Code Here

Examples of org.glassfish.flashlight.client.ProbeClientInvoker.invoke()

        int sz = invokerList.size();

        for (int i=0; i<sz; i++) {
            ProbeClientInvoker invoker = invokerList.get(i);
            if(invoker != null) {
                invoker.invoke(params);
            }
        }
    }

    public ArrayList<ProbeInvokeState> fireProbeBefore(Object[] params) {
View Full Code Here

Examples of org.glassfish.web.valve.GlassFishValve.invoke()

                    if (host.getPipeline().hasNonBasicValves() ||
                            host.hasCustomPipeline()) {
                        host.getPipeline().invoke(request, response);
                    } else {
                        GlassFishValve hostValve = host.getPipeline().getBasic();
                        hostValve.invoke(request, response);
                        // Error handling
                        hostValve.postInvoke(request, response);
                    }
                }
            } finally {
View Full Code Here

Examples of org.gridkit.jvmtool.MBeanHelper.invoke()

          MBeanServerConnection conn = connInfo.getMServer();
                    Set<ObjectName> names = resolveSingleBean(conn);
          MBeanHelper helper = new MBeanHelper(conn);
                    for (ObjectName name : names) {
                        System.out.println(name);
                        System.out.println(helper.invoke(name, operation, arguments.toArray(new String[arguments.size()])));
                    }
        } catch (Exception e) {
          e.printStackTrace();
          SJK.fail();
        }
View Full Code Here

Examples of org.gudy.azureus2.plugins.ipc.IPCInterface.invoke()

    IPCInterface ipc = pi.getIPC();
   
    try{
      if ( ipc.canInvoke( "handleURLProtocol", new Object[]{ this, arg })){
         
        input_stream = (InputStream)ipc.invoke( "handleURLProtocol", new Object[]{ this, arg });

      }else{
     
        input_stream = (InputStream)ipc.invoke( "handleURLProtocol", new Object[]{ arg });
      }
View Full Code Here

Examples of org.hibernate.search.engine.FilterDef.invoke()

        }
        catch (IllegalAccessException e) {
          throw new SearchException( "Unable to create @FullTextFilterDef: " + def.getImpl(), e );
        }
        for ( Map.Entry<String, Object> entry : filterDefinition.getParameters().entrySet() ) {
          def.invoke( entry.getKey(), instance, entry.getValue() );
        }
        if ( def.isCache() && def.getKeyMethod() == null && filterDefinition.getParameters().size() > 0 ) {
          throw new SearchException("Filter with parameters and no @Key method: " + filterDefinition.getName() );
        }
        FilterKey key = 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.