org.jboss.kernel.plugins.dispatch
Class InvokeDispatchHelper

java.lang.Object
  extended by org.jboss.kernel.plugins.dispatch.InvokeDispatchHelper

public class InvokeDispatchHelper
extends Object

Helper - reducing duplicated code.

Author:
Ales Justin

Constructor Summary
InvokeDispatchHelper()
           
 
Method Summary
static Object invoke(KernelConfigurator configurator, Object target, InvokeDispatchContext context, String methodName, List<ParameterMetaData> params)
          Invoke context with params from ParameterMetaData list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokeDispatchHelper

public InvokeDispatchHelper()
Method Detail

invoke

public static Object invoke(KernelConfigurator configurator,
                            Object target,
                            InvokeDispatchContext context,
                            String methodName,
                            List<ParameterMetaData> params)
                     throws Throwable
Invoke context with params from ParameterMetaData list.

Parameters:
configurator - the configurator
target - the target
context - the invoke dispatch
methodName - the method name
params - the parameters
Returns:
invocation's result
Throws:
Throwable - for any exception


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.