org.crsh.command
Class MethodDispatcher

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Closure
          extended by org.crsh.command.CommandClosure
              extended by org.crsh.command.MethodDispatcher
All Implemented Interfaces:
groovy.lang.GroovyCallable, groovy.lang.GroovyObject, Serializable, Cloneable, Runnable, Callable

 class MethodDispatcher
extends CommandClosure


Field Summary
(package private)  ClassDispatcher dispatcher
          .
(package private)  String name
          .
 
Fields inherited from class org.crsh.command.CommandClosure
args, options
 
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF
 
Constructor Summary
MethodDispatcher(ClassDispatcher dispatcher, String name)
           
 
Method Summary
 Object call(Object[] args)
           
 
Methods inherited from class org.crsh.command.CommandClosure
invokeMethod, unwrapArgs
 
Methods inherited from class groovy.lang.Closure
asWritable, call, call, clone, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dispatcher

final ClassDispatcher dispatcher
.


name

final String name
.

Constructor Detail

MethodDispatcher

MethodDispatcher(ClassDispatcher dispatcher,
                 String name)
Method Detail

call

public Object call(Object[] args)
Overrides:
call in class groovy.lang.Closure


Copyright © 2014 eXo Platform SAS. All Rights Reserved.