blob: d8cb0c19450760aeac1d3a06f63b99728e6b95a0 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.6) on Mon Mar 23 13:31:56 EDT 2020 -->
<title>Uses of Interface org.apache.shiro.aop.AnnotationResolver (Apache Shiro 1.5.2 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-03-23">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface org.apache.shiro.aop.AnnotationResolver (Apache Shiro 1.5.2 API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="Uses of Interface org.apache.shiro.aop.AnnotationResolver" class="title">Uses of Interface<br>org.apache.shiro.aop.AnnotationResolver</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.shiro.aop">org.apache.shiro.aop</a></th>
<td class="colLast">
<div class="block">Components used to support the framework's AOP/interception support classes.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.shiro.authz.aop">org.apache.shiro.authz.aop</a></th>
<td class="colLast">
<div class="block">Contains AOP implementation support classes specifically used for authorization operations, particularly supporting
AOP Method Interceptors and JSR-175 metadata Annotations.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.shiro.guice.aop">org.apache.shiro.guice.aop</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.shiro.spring.aop">org.apache.shiro.spring.aop</a></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="org.apache.shiro.aop">
<!-- -->
</a>
<h3>Uses of <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a> in <a href="../package-summary.html">org.apache.shiro.aop</a></h3>
<table class="useSummary">
<caption><span>Classes in <a href="../package-summary.html">org.apache.shiro.aop</a> that implement <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../DefaultAnnotationResolver.html" title="class in org.apache.shiro.aop">DefaultAnnotationResolver</a></span></code></th>
<td class="colLast">
<div class="block">Default <code>AnnotationResolver</code> implementation that merely inspects the
<a href="../MethodInvocation.html" title="interface in org.apache.shiro.aop"><code>MethodInvocation</code></a>'s <a href="../MethodInvocation.html#getMethod()"><code>target method</code></a>,
and returns <code>targetMethod</code>.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true#getAnnotation(java.lang.Class)" title="class or interface in java.lang.reflect" class="externalLink"><code>getAnnotation(class)</code></a>.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.shiro.aop</a> that return <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AnnotationMethodInterceptor.</span><code><span class="memberNameLink"><a href="../AnnotationMethodInterceptor.html#getResolver()">getResolver</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>AnnotationResolver</code> to use to acquire annotations from intercepted
methods at runtime.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.shiro.aop</a> with parameters of type <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AnnotationMethodInterceptor.</span><code><span class="memberNameLink"><a href="../AnnotationMethodInterceptor.html#setResolver(org.apache.shiro.aop.AnnotationResolver)">setResolver</a></span>&#8203;(<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">
<div class="block">Returns the <code>AnnotationResolver</code> to use to acquire annotations from intercepted
methods at runtime.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../package-summary.html">org.apache.shiro.aop</a> with parameters of type <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../AnnotationMethodInterceptor.html#%3Cinit%3E(org.apache.shiro.aop.AnnotationHandler,org.apache.shiro.aop.AnnotationResolver)">AnnotationMethodInterceptor</a></span>&#8203;(<a href="../AnnotationHandler.html" title="class in org.apache.shiro.aop">AnnotationHandler</a>&nbsp;handler,
<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">
<div class="block">Constructs an <code>AnnotationMethodInterceptor</code> with the
<a href="../AnnotationHandler.html" title="class in org.apache.shiro.aop"><code>AnnotationHandler</code></a> that will be used to process annotations of a
corresponding type, using the specified <code>AnnotationResolver</code> to acquire annotations
at runtime.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.shiro.authz.aop">
<!-- -->
</a>
<h3>Uses of <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a> in <a href="../../authz/aop/package-summary.html">org.apache.shiro.authz.aop</a></h3>
<table class="useSummary">
<caption><span>Constructors in <a href="../../authz/aop/package-summary.html">org.apache.shiro.authz.aop</a> with parameters of type <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../authz/aop/AuthenticatedAnnotationMethodInterceptor.html#%3Cinit%3E(org.apache.shiro.aop.AnnotationResolver)">AuthenticatedAnnotationMethodInterceptor</a></span>&#8203;(<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../authz/aop/AuthorizingAnnotationMethodInterceptor.html#%3Cinit%3E(org.apache.shiro.authz.aop.AuthorizingAnnotationHandler,org.apache.shiro.aop.AnnotationResolver)">AuthorizingAnnotationMethodInterceptor</a></span>&#8203;(<a href="../../authz/aop/AuthorizingAnnotationHandler.html" title="class in org.apache.shiro.authz.aop">AuthorizingAnnotationHandler</a>&nbsp;handler,
<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../authz/aop/GuestAnnotationMethodInterceptor.html#%3Cinit%3E(org.apache.shiro.aop.AnnotationResolver)">GuestAnnotationMethodInterceptor</a></span>&#8203;(<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../authz/aop/PermissionAnnotationMethodInterceptor.html#%3Cinit%3E(org.apache.shiro.aop.AnnotationResolver)">PermissionAnnotationMethodInterceptor</a></span>&#8203;(<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../authz/aop/RoleAnnotationMethodInterceptor.html#%3Cinit%3E(org.apache.shiro.aop.AnnotationResolver)">RoleAnnotationMethodInterceptor</a></span>&#8203;(<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../authz/aop/UserAnnotationMethodInterceptor.html#%3Cinit%3E(org.apache.shiro.aop.AnnotationResolver)">UserAnnotationMethodInterceptor</a></span>&#8203;(<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.shiro.guice.aop">
<!-- -->
</a>
<h3>Uses of <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a> in <a href="../../guice/aop/package-summary.html">org.apache.shiro.guice.aop</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../guice/aop/package-summary.html">org.apache.shiro.guice.aop</a> that return <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ShiroAopModule.</span><code><span class="memberNameLink"><a href="../../guice/aop/ShiroAopModule.html#createAnnotationResolver()">createAnnotationResolver</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../guice/aop/package-summary.html">org.apache.shiro.guice.aop</a> with parameters of type <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ShiroAopModule.</span><code><span class="memberNameLink"><a href="../../guice/aop/ShiroAopModule.html#configureDefaultInterceptors(org.apache.shiro.aop.AnnotationResolver)">configureDefaultInterceptors</a></span>&#8203;(<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ShiroAopModule.</span><code><span class="memberNameLink"><a href="../../guice/aop/ShiroAopModule.html#configureInterceptors(org.apache.shiro.aop.AnnotationResolver)">configureInterceptors</a></span>&#8203;(<a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.shiro.spring.aop">
<!-- -->
</a>
<h3>Uses of <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a> in <a href="../../spring/aop/package-summary.html">org.apache.shiro.spring.aop</a></h3>
<table class="useSummary">
<caption><span>Classes in <a href="../../spring/aop/package-summary.html">org.apache.shiro.spring.aop</a> that implement <a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">AnnotationResolver</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../spring/aop/SpringAnnotationResolver.html" title="class in org.apache.shiro.spring.aop">SpringAnnotationResolver</a></span></code></th>
<td class="colLast">
<div class="block"><code>AnnotationResolver</code> implementation that uses Spring's more robust
<a href="https://docs.spring.io/spring/docs/2.5.x/javadoc-api/org/springframework/core/annotation/AnnotationUtils.html?is-external=true" title="class or interface in org.springframework.core.annotation" class="externalLink"><code>AnnotationUtils</code></a> to find method annotations instead of the JDKs simpler
(and rather lacking) <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect" class="externalLink"><code>Method</code></a>.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true#getAnnotation(java.lang.Class)" title="class or interface in java.lang.reflect" class="externalLink"><code>getAnnotation(class)</code></a>
implementation.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../AnnotationResolver.html" title="interface in org.apache.shiro.aop">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>