<div>$B2r$G$9(B</div>
<div>$B!!!!(B</div>
<div>$B!!!!!!$$$D$b$*@$OC$K$J$F$*$j$^$9!#(B</div>
<div>$B!!!!(B</div>
<div>$B!!!!!!(Bpublic class LoginAuthInterceptor extends AbstractInterceptor {<br><span></span><br>&nbsp; &nbsp; $B!!!!(Bprivate MessageDao messageDao;<br><br>$B!!!!!!!!(B// setter$B>JN,(B<br><br>$B!!!!!!(Bpublic Object invoke(MethodInvocation invocation) throws Throwable {<br>
$B!!!!!!!!(B// $B0J2<!$>JN,(B<br><br>$B!!!!!!(B}</div>
<div>&nbsp;</div>
<div>$B!!!!!!0J>eJ}K!$N$h$&$JMxMQ$9$k$H!"(Bjava.lang.NullPointerException$B$r=P$9!#(B</div>
<div>$B!!!!!!(B<br>$B!!!!(Bpublic class LoginAuthInterceptor extends AbstractInterceptor {<br><span></span><br>&nbsp; &nbsp; $B!!!!(Bprivate MessageDao dao;<br><br>$B!!!!!!!!(B</div>
<div>&nbsp;&nbsp;$B!!!!!!(Bpublic void setDao(MessageDao dao) {<br>&nbsp;&nbsp;$B!!!!!!!!!!!!(Bthis.dao = dao;<br>&nbsp;$B!!!!!!(B}<br>&nbsp;$B!!!!!!!!(Bpublic MessageDao getDao() {<br>&nbsp;&nbsp;$B!!!!!!!!!!(Breturn dao;<br>&nbsp;$B!!!!!!!!(B}</div>
<div><br>$B!!!!!!(Bpublic Object invoke(MethodInvocation invocation) throws Throwable {</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $B!%!%!%(B</div>
<div><br>$B!!!!!!!!!!!!(BMessage[]&nbsp;&nbsp; mes = dao.getAllMessage();</div>
<div>&nbsp;</div>
<div>$B!!!!!!!!!!!!!%!%!%(B<br>$B!!!!!!(B}</div>
<div>&nbsp;</div>
<div>$B!!!!(Bapp_aop.dicon$B$G@k8@$7$^$7$?!#(B<br>$B!!!!!!!!(B&lt;components namespace=&quot;app_aop&quot;&gt;</div>
<div>$B!!!!!!!!!!!!(B&lt;component name=&quot;loginAuthInterceptor&quot; class=&quot;com.teeda.interceptor.LoginAuthInterceptor&quot; /&gt;</div>
<div>$B!!!!!!!!(B&lt;/components&gt;</div>
<div>$B!!!!(Bcustomizer.dicon$B$G@k8@$7$^$7$?!#(B</div>
<div>$B!!!!!!!!!!(B&nbsp; &lt;component name=&quot;authAspectCustomizer&quot; class=&quot;org.seasar.framework.container.customizer.AspectCustomizer&quot;&gt;<br>&nbsp;&nbsp;&nbsp; $B!!!!!!!!!!!!(B&lt;initMethod name=&quot;addInterceptorName&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;&quot;app_aop.loginAuthInterceptor&quot;&lt;/arg&gt;<br>
&nbsp;&nbsp;&nbsp; $B!!!!!!!!!!!!(B&lt;/initMethod&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;pointcut&quot;&gt;&quot;prerender&quot;&lt;/property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/component&gt;</div>
<div>$B!!(B //messageDao.java</div>
<div>
<p>&nbsp; package com.teeda.dao;</p>
<p>&nbsp; import com.teeda.entity.Message;</p>
<p>&nbsp; public interface MessageDao {<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static final Class BEAN = Message.class;<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static final String ARGS_findByMessageId = &quot;id&quot;;<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;public Message[] findByMessageId(String id);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Message[] getAllMessage();<br>&nbsp;&nbsp; }</p></div>
<div>$B!!0J>e$N$h$&$JMxMQ$9$k>l9g!"(BLoginAuthInterceptor $B$N%W%m%Q%F%#(BDao$B<hF@$7$^$;$s$G$7$?!#!!$@$+$i!"(BPageClass$B$K%W%m%Q%F%#(BDao$B$H(Bgetter/ setter $B%a%C%=!<%I$rMxMQ$7$F(B</div>
<div>&nbsp;</div>
<div>$B!!(BDao$B$r<hF@$G$-$k!#!!!!;d$O;HMQ$NJ}K!$O4V0c$$$,$"$k$G$9$,!#65$($F$/$@$5$$!#(B</div>
<div>&nbsp;&nbsp;$B0J>e!!$h$m$7$/$*4j$$$7$^$9!#(B</div>
<div>&nbsp;</div>