資源簡介
代碼片段和文件信息
/*
?*?Copyright?2002-2006?the?original?author?or?authors.
?*
?*?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
?*?you?may?not?use?this?file?except?in?compliance?with?the?License.
?*?You?may?obtain?a?copy?of?the?License?at
?*
?*??????http://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/
package?org.springframework.aop;
import?org.aopalliance.aop.Advice;
/**?
?*?base?interface?holding?AOP?advice?(action?to?take?at?a?joinpoint)
?*?and?a?filter?determining?the?applicability?of?the?advice?(such?as?
?*?a?pointcut).?This?interface?is?not?for?use?by?Spring?users?but?to
?*?allow?for?commonality?in?support?for?different?types?of?advice.
?*
?*?Spring?AOP?is?based?around?around?advice?delivered?via?method
?*?interception?compliant?with?the?AOP?Alliance?interception?API.?
?*?The?Advisor?interface?allows?support?for?different?types?of?advice
?*?such?as?before?and?after?advice?which?need?not?be
?*?implemented?using?interception.
?*
?*?@author?Rod?Johnson
?*/
public?interface?Advisor?{
/**
?*?Return?whether?this?advice?is?associated?with?a?particular?instance
?*?(for?example?creating?a?mixin)?or?shared?with?all?instances?of
?*?the?advised?class?obtained?from?the?same?Spring?bean?factory.
?*?Note?that?this?method?is?not?currently?used?by?the?framework.
?*?Typical?Advisor?implementations?always?return?true
.
?*?Use?singleton/prototype?bean?definitions?or?appropriate?programmatic
?*?proxy?creation?to?ensure?that?Advisors?have?the?correct?lifecycle?model.?
?*/
boolean?isPerInstance();
/**
?*?Return?the?advice?part?of?this?aspect.?An?advice?may?be?an
?*?interceptor?a?before?advice?a?throws?advice?etc.
?*?@return?the?advice?that?should?apply?if?the?pointcut?matches
?*?@see?org.aopalliance.intercept.MethodInterceptor
?*?@see?BeforeAdvice
?*?@see?ThrowsAdvice
?*?@see?AfterReturningAdvice
?*/
Advice?getAdvice();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6612??2014-04-13?12:02??spring\.classpath
?????文件????????382??2014-04-13?11:35??spring\.project
?????文件??????74237??2014-04-13?11:35??spring\bin\ant\ant-junit.jar
?????文件???????9180??2014-04-13?11:35??spring\bin\ant\ant-launcher.jar
?????文件??????68841??2014-04-13?11:35??spring\bin\ant\ant-trax.jar
?????文件????1034049??2014-04-13?11:35??spring\bin\ant\ant.jar
?????文件?????443432??2014-04-13?11:35??spring\bin\antlr\antlr-2.7.6.jar
?????文件???????4467??2014-04-13?11:35??spring\bin\aopalliance\aopalliance.jar
?????文件??????34807??2014-04-13?11:35??spring\bin\asm\asm-2.2.2.jar
?????文件??????15060??2014-04-13?11:35??spring\bin\asm\asm-commons-2.2.2.jar
?????文件??????35061??2014-04-13?11:35??spring\bin\asm\asm-util-2.2.2.jar
?????文件?????115002??2014-04-13?11:35??spring\bin\aspectj\aspectjrt.jar
?????文件????1896338??2014-04-13?11:35??spring\bin\aspectj\aspectjweaver.jar
?????文件????1632995??2014-04-13?11:35??spring\bin\axis\axis.jar
?????文件??????19427??2014-04-13?11:35??spring\bin\axis\saaj.jar
?????文件?????126771??2014-04-13?11:35??spring\bin\axis\wsdl4j.jar
?????文件?????281694??2014-04-13?11:35??spring\bin\bsh\bsh-2.0b4.jar
?????文件?????490136??2014-04-13?11:35??spring\bin\c3p0\c3p0-0.9.0.4.jar
?????文件?????235464??2014-04-13?11:35??spring\bin\caucho\hessian-3.0.20.jar
?????文件?????324238??2014-04-13?11:35??spring\bin\cglib\cglib-nodep-2.1_3.jar
?????文件???????5935??2014-04-13?11:35??spring\bin\commonj\commonj-twm.jar
?????文件??????56404??2014-04-13?11:35??spring\bin\cos\cos.jar
?????文件?????313898??2014-04-13?11:35??spring\bin\dom4j\dom4j-1.6.1.jar
?????文件?????226877??2014-04-13?11:35??spring\bin\dom4j\jaxen-1.1-beta-7.jar
?????文件??????36789??2014-04-13?11:35??spring\bin\easymock\easymock.jar
?????文件??????11952??2014-04-13?11:35??spring\bin\easymock\easymockclassextension.jar
?????文件?????208048??2014-04-13?11:35??spring\bin\ehcache\ehcache-1.2.3.jar
?????文件??????24432??2014-04-13?12:01??spring\bin\el-api-1.0.jar
?????文件?????802494??2014-04-13?11:35??spring\bin\freemarker\freemarker.jar
?????文件????1180470??2014-04-13?11:35??spring\bin\groovy\groovy-1.0-jsr-04.jar
............此處省略4825個文件信息
評論
共有 條評論