com.schlimm.springcdi.interceptor
Class InterceptorModuleUtils

java.lang.Object
  extended by com.schlimm.springcdi.interceptor.InterceptorModuleUtils

public class InterceptorModuleUtils
extends Object

Re-used utility methods.

Author:
Niklas Schlimm

Constructor Summary
InterceptorModuleUtils()
           
 
Method Summary
static Class getClass_forName_Safe(String className)
          Friendly class for name implementation.
static Class getClass_forName(String className)
          Convenient class for name implementation.
static Set<Method> getMethodsForName(Class<?> clazz, String methodName)
          Return all methods with given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorModuleUtils

public InterceptorModuleUtils()
Method Detail

getClass_forName_Safe

public static Class getClass_forName_Safe(String className)
Friendly class for name implementation.

Parameters:
className - class to find
Returns:
class found, null if no class was found

getClass_forName

public static Class getClass_forName(String className)
Convenient class for name implementation.

Parameters:
className - Class to find
Returns:
Class found

getMethodsForName

public static Set<Method> getMethodsForName(Class<?> clazz,
                                            String methodName)
Return all methods with given name.

Parameters:
clazz - class scanned
methodName - method name to search
Returns:
methods found, empty HashSet if non found


Copyright © 2011. All Rights Reserved.