org.apache.openejb.assembler.classic
Class MethodInfoUtil
java.lang.Object
org.apache.openejb.assembler.classic.MethodInfoUtil
public class MethodInfoUtil
- extends Object
- Version:
- $Rev: 710022 $ $Date: 2008-11-03 09:40:14 +0100 (Mo, 03. Nov 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInfoUtil
public MethodInfoUtil()
matchingMethods
public static List<Method> matchingMethods(Method signature,
Class clazz)
matchingMethods
public static List<Method> matchingMethods(MethodInfo mi,
Class clazz)
matchingMethods
public static List<Method> matchingMethods(MethodInfo mi,
Method[] methods)
getMethod
public static Method getMethod(Class clazz,
MethodInfo info)
normalizeMethodPermissionInfos
public static List<MethodPermissionInfo> normalizeMethodPermissionInfos(List<MethodPermissionInfo> infos)
- This method splits the MethodPermissionInfo objects so that there is
exactly one MethodInfo per MethodPermissionInfo. A single MethodPermissionInfo
with three MethodInfos would be expanded into three MethodPermissionInfo with
one MethodInfo each.
The MethodPermissionInfo list is then sorted from least to most specific.
- Parameters:
infos
-
- Returns:
- a normalized list of new MethodPermissionInfo objects
resolveAttributes
public static Map<Method,MethodAttributeInfo> resolveAttributes(List<? extends MethodAttributeInfo> infos,
DeploymentInfo deploymentInfo)
match
public static boolean match(Method methodA,
Method methodB)
matches
public static boolean matches(Method method,
MethodInfo methodInfo)
view
public static MethodInfoUtil.View view(MethodInfo methodInfo)
level
public static MethodInfoUtil.Level level(MethodInfo methodInfo)
toString
public static String toString(MethodInfo i)
toString
public static String toString(MethodPermissionInfo i)
toString
public static String toString(MethodTransactionInfo i)
toString
public static String toString(MethodConcurrencyInfo i)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.