Example usage for org.apache.shiro.aop MethodInvocation getMethod

List of usage examples for org.apache.shiro.aop MethodInvocation getMethod

Introduction

In this page you can find the example usage for org.apache.shiro.aop MethodInvocation getMethod.

Prototype

Method getMethod();

Source Link

Document

Returns the actual Method Method to be invoked.

Usage

From source file:org.killbill.billing.util.security.AnnotationHierarchicalResolver.java

License:Apache License

@Override
public Annotation getAnnotation(final MethodInvocation mi, final Class<? extends Annotation> clazz) {
    return getAnnotationFromMethod(mi.getMethod(), clazz);
}