权限的配置

<bean id="service" class="com.pangxie.power.StudentService"></bean>
    <bean id="check" class="com.pangxie.power.CheckPower"></bean>
    <aop:config>
      <aop:pointcut expression="execution(* *com.pangxie.power.StudentService.*(..))" id="point"/>
      <aop:advisor advice-ref="check" pointcut-ref="point"/>
    </aop:config>

posted @ 2017-10-18 18:01  大河虾  阅读(93)  评论(0)    收藏  举报