Examples of invoke()


Examples of org.apache.geronimo.kernel.jmx.InvokeMBean.invoke()

        InvokeMBean invoker = methodTable[proxy.getSuperIndex()];
        if (invoker == null) {
            throw new NoSuchOperationError("No implementation method:" +
                    " objectName=" + objectName + ", method=" + method);
        }
        return invoker.invoke(server, objectName, args);
    }

    public static InvokeMBean[] createMethodTable(MBeanServer server, ObjectName objectName, Class proxyType) {
        MBeanInfo info = null;
        try {
View Full Code Here

Examples of org.apache.hadoop.ruby.JRubyEvaluator.invoke()

      OutputCollector<Text, IntWritable> output, Reporter reporter)
      throws IOException {
    // invoke "reduce" method in ruby
    JRubyEvaluator evaluator = getJRubyEvaluator();
    try {
      evaluator.invoke("wrap_reduce", key, values, output, reporter);
    } catch (ScriptException e) {
      reporter.setStatus(e.getMessage());
    } finally {
      evaluator.checkResource();
    }
View Full Code Here

Examples of org.apache.helix.participant.HelixCustomCodeRunner.invoke()

        {
          Thread.sleep(2000);
        }

        HelixCustomCodeRunner customCodeRunner = new HelixCustomCodeRunner(manager, ZK_ADDR);
        customCodeRunner.invoke(_callback)
                         .on(ChangeType.LIVE_INSTANCE)
                         .usingLeaderStandbyModel("TestParticLeader")
                         .start();
      } catch (Exception e)
      {
View Full Code Here

Examples of org.apache.ibatis.reflection.invoker.Invoker.invoke()

  private Object getBeanProperty(PropertyTokenizer prop, Object object) {
    try {
      Invoker method = metaClass.getGetInvoker(prop.getName());
      try {
        return method.invoke(object, NO_ARGUMENTS);
      } catch (Throwable t) {
        throw ExceptionUtil.unwrapThrowable(t);
      }
    } catch (RuntimeException e) {
      throw e;
View Full Code Here

Examples of org.apache.isis.core.metamodel.facets.actions.interaction.ActionInvocationFacet.invoke()

    public ObjectAdapter execute(final ObjectAdapter target, final ObjectAdapter[] arguments) {
        if(LOG.isDebugEnabled()) {
            LOG.debug("execute action " + target + "." + getId());
        }
        final ActionInvocationFacet facet = getFacet(ActionInvocationFacet.class);
        return facet.invoke(this, target, arguments);
    }

    protected ActionInvocationFacet getActionInvocationFacet() {
        return getFacetedMethod().getFacet(ActionInvocationFacet.class);
    }
View Full Code Here

Examples of org.apache.isis.core.metamodel.facets.actions.invoke.ActionInvocationFacet.invoke()

    public ObjectAdapter execute(final ObjectAdapter target, final ObjectAdapter[] arguments) {
        if(LOG.isDebugEnabled()) {
            LOG.debug("execute action " + target + "." + getId());
        }
        final ActionInvocationFacet facet = getFacet(ActionInvocationFacet.class);
        return facet.invoke(this, target, arguments);
    }

    protected ActionInvocationFacet getActionInvocationFacet() {
        return getFacetedMethod().getFacet(ActionInvocationFacet.class);
    }
View Full Code Here

Examples of org.apache.jetspeed.pipeline.valve.Valve.invoke()

        {
            if (at < valves.length)
            {
                Valve next = valves[at];
                at++;
                next.invoke(request, this);
            }
        }
    }

}
View Full Code Here

Examples of org.apache.jk.core.JkHandler.invoke()

        if( log.isDebugEnabled() )
            log.debug( "Received " + type + " " + handlers[type].getName());
       
  JkHandler handler=handlers[type];
       
        return handler.invoke( msg, ep );
    }

}
View Full Code Here

Examples of org.apache.jorphan.reflect.Functor.invoke()

        if(headers.size() == 1 && col >= readFunctors.size()) {
            return value;
        }
        Functor getMethod = readFunctors.get(col);
        if (getMethod != null && value != null) {
            return getMethod.invoke(value);
        }
        return null;
    }

    /** {@inheritDoc} */
 
View Full Code Here

Examples of org.apache.lenya.cms.usecase.UsecaseInvoker.invoke()

                if (getLogger().isDebugEnabled())
                    getLogger().debug(
                            "InsertAsset::advance() calling invoker with usecaseName ["
                                    + usecaseName + "]");
                invoker.invoke(getSourceURL(), usecaseName, getParameters());
                if (invoker.getResult() == UsecaseInvoker.SUCCESS) {
                    loadResources();
                    deleteParameter("title");
                    deleteParameter("creator");
                    deleteParameter("rights");
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.