Browse Source

spring

master
andrew.asa 7 years ago
parent
commit
c2f4bb7682
  1. 2
      META-INF/MANIFEST.MF
  2. 23
      build.third.gradle
  3. BIN
      fine-spring/lib/aopalliance-1.0.jar
  4. BIN
      fine-spring/lib/asm-4.0.jar
  5. BIN
      fine-spring/lib/asm-analysis-4.0.jar
  6. BIN
      fine-spring/lib/asm-commons-4.0.jar
  7. BIN
      fine-spring/lib/asm-tree-4.0.jar
  8. BIN
      fine-spring/lib/asm-util-4.0.jar
  9. BIN
      fine-spring/lib/aspectjweaver-1.8.4.jar
  10. BIN
      fine-spring/lib/bcmail-jdk14-1.38.jar
  11. BIN
      fine-spring/lib/bcmail-jdk14-138.jar
  12. BIN
      fine-spring/lib/bcprov-jdk14-1.38.jar
  13. BIN
      fine-spring/lib/bctsp-jdk14-1.38.jar
  14. BIN
      fine-spring/lib/bsh-2.0b4.jar
  15. BIN
      fine-spring/lib/bytelist-1.0.11.jar
  16. BIN
      fine-spring/lib/commons-beanutils-1.8.3.jar
  17. BIN
      fine-spring/lib/commons-codec-1.6.jar
  18. BIN
      fine-spring/lib/commons-collections-3.2.1.jar
  19. BIN
      fine-spring/lib/commons-fileupload-1.3.1.jar
  20. BIN
      fine-spring/lib/commons-io-2.2.jar
  21. BIN
      fine-spring/lib/commons-lang-2.4.jar
  22. BIN
      fine-spring/lib/commons-logging-1.1.3.jar
  23. BIN
      fine-spring/lib/commons-pool-1.6.jar
  24. BIN
      fine-spring/lib/ejb-api-3.0.jar
  25. BIN
      fine-spring/lib/freemarker-2.3.20.jar
  26. BIN
      fine-spring/lib/groovy-all-1.8.9.jar
  27. BIN
      fine-spring/lib/hessian-4.0.7.jar
  28. BIN
      fine-spring/lib/hibernate-validator-4.3.2.Final.jar
  29. BIN
      fine-spring/lib/httpasyncclient-4.0.2.jar
  30. BIN
      fine-spring/lib/httpclient-4.3.6.jar
  31. BIN
      fine-spring/lib/httpcore-4.3.3.jar
  32. BIN
      fine-spring/lib/httpcore-nio-4.3.2.jar
  33. BIN
      fine-spring/lib/invokebinder-1.2.jar
  34. BIN
      fine-spring/lib/itext-2.1.7.jar
  35. BIN
      fine-spring/lib/jackson-annotations-2.3.0.jar
  36. BIN
      fine-spring/lib/jackson-core-2.3.4.jar
  37. BIN
      fine-spring/lib/jackson-core-asl-1.9.13.jar
  38. BIN
      fine-spring/lib/jackson-databind-2.3.4.jar
  39. BIN
      fine-spring/lib/jackson-mapper-asl-1.9.13.jar
  40. BIN
      fine-spring/lib/jamon-2.4.jar
  41. BIN
      fine-spring/lib/jasperreports-5.5.1.jar
  42. BIN
      fine-spring/lib/javassist-3.7.ga.jar
  43. BIN
      fine-spring/lib/javax.el-api-2.2.5.jar
  44. BIN
      fine-spring/lib/javax.enterprise.concurrent-api-1.0.jar
  45. BIN
      fine-spring/lib/javax.faces-api-2.2.jar
  46. BIN
      fine-spring/lib/javax.inject-1.jar
  47. BIN
      fine-spring/lib/javax.servlet-api-3.0.1.jar
  48. BIN
      fine-spring/lib/javax.servlet.jsp-api-2.2.1.jar
  49. BIN
      fine-spring/lib/javax.servlet.jsp.jstl-api-1.2.1.jar
  50. BIN
      fine-spring/lib/jboss-logging-3.1.0.CR2.jar
  51. BIN
      fine-spring/lib/jcodings-1.0.10.jar
  52. BIN
      fine-spring/lib/jdom-1.0.jar
  53. BIN
      fine-spring/lib/jetty-server-9.1.5.v20140505.jar
  54. BIN
      fine-spring/lib/jetty-servlet-9.1.5.v20140505.jar
  55. BIN
      fine-spring/lib/jffi-1.2.7-native.jar
  56. BIN
      fine-spring/lib/jffi-1.2.7.jar
  57. BIN
      fine-spring/lib/jnr-constants-0.8.5.jar
  58. BIN
      fine-spring/lib/jnr-enxio-0.4.jar
  59. BIN
      fine-spring/lib/jnr-ffi-2.0.0.jar
  60. BIN
      fine-spring/lib/jnr-netdb-1.1.2.jar
  61. BIN
      fine-spring/lib/jnr-posix-3.0.8.jar
  62. BIN
      fine-spring/lib/jnr-unixsocket-0.3.jar
  63. BIN
      fine-spring/lib/jnr-x86asm-1.0.2.jar
  64. BIN
      fine-spring/lib/joda-time-2.5.jar
  65. BIN
      fine-spring/lib/joni-2.1.3.jar
  66. BIN
      fine-spring/lib/jopt-simple-4.6.jar
  67. BIN
      fine-spring/lib/jruby-core-1.7.17.jar
  68. BIN
      fine-spring/lib/jruby-stdlib-1.7.17.jar
  69. BIN
      fine-spring/lib/jxl-2.6.12.jar
  70. BIN
      fine-spring/lib/jzlib-1.1.3.jar
  71. BIN
      fine-spring/lib/log4j-1.2.17.jar
  72. BIN
      fine-spring/lib/mvel2-2.0.11.jar
  73. BIN
      fine-spring/lib/nailgun-server-0.9.1.jar
  74. BIN
      fine-spring/lib/ognl-2.7.3.jar
  75. BIN
      fine-spring/lib/options-1.2.jar
  76. BIN
      fine-spring/lib/poi-3.10.1.jar
  77. BIN
      fine-spring/lib/portlet-api-2.0.jar
  78. BIN
      fine-spring/lib/rome-1.0.jar
  79. BIN
      fine-spring/lib/snakeyaml-1.13.jar
  80. BIN
      fine-spring/lib/spring-cglib-repack-3.1.jar
  81. BIN
      fine-spring/lib/spring-objenesis-repack-2.1.jar
  82. BIN
      fine-spring/lib/tiles-api-2.2.2.jar
  83. BIN
      fine-spring/lib/tiles-compat-2.2.2.jar
  84. BIN
      fine-spring/lib/tiles-core-2.2.2.jar
  85. BIN
      fine-spring/lib/tiles-el-2.2.2.jar
  86. BIN
      fine-spring/lib/tiles-extras-2.2.2.jar
  87. BIN
      fine-spring/lib/tiles-freemarker-2.2.2.jar
  88. BIN
      fine-spring/lib/tiles-jsp-2.2.2.jar
  89. BIN
      fine-spring/lib/tiles-mvel-2.2.2.jar
  90. BIN
      fine-spring/lib/tiles-ognl-2.2.2.jar
  91. BIN
      fine-spring/lib/tiles-servlet-2.2.2.jar
  92. BIN
      fine-spring/lib/tiles-servlet-wildcard-2.2.2.jar
  93. BIN
      fine-spring/lib/tiles-template-2.2.2.jar
  94. BIN
      fine-spring/lib/tiles-velocity-2.2.2.jar
  95. BIN
      fine-spring/lib/validation-api-1.0.0.GA.jar
  96. BIN
      fine-spring/lib/velocity-1.7.jar
  97. BIN
      fine-spring/lib/yecht-1.0.jar
  98. 60
      fine-spring/src/com/fr/third/springframework/aop/Advisor.java
  99. 31
      fine-spring/src/com/fr/third/springframework/aop/AfterAdvice.java
  100. 44
      fine-spring/src/com/fr/third/springframework/aop/AfterReturningAdvice.java
  101. Some files were not shown because too many files have changed in this diff Show More

2
META-INF/MANIFEST.MF

@ -0,0 +1,2 @@
Manifest-Version: 1.0

23
build.third.gradle

@ -1,27 +1,28 @@
apply plugin: 'java' apply plugin: 'java'
tasks.withType(JavaCompile){ tasks.withType(JavaCompile){
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
} }
//jdk版本 //jdk版本
sourceCompatibility=1.5 sourceCompatibility=1.5
def jarname="fr-third-9.0.jar" def jarname="fr-third-9.0.jar"
def classesDir='build/classes/main' def classesDir='build/classes/main'
def ftpreport='E:/ftp/share/report/' def ftpreport='E:/ftp/share/report/'
//lib下的jar到classes文件夹 //lib下的jar到classes文件夹
jar{ jar{
baseName="fr-third-9.0" baseName="fr-third-9.0"
} }
def srcDir="." def srcDir="."
// //<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD>·<EFBFBD><EFBFBD>
sourceSets{ sourceSets{
main{ main{
java{ java{
srcDirs=["${srcDir}/fine-druid/src", srcDirs=["${srcDir}/fine-druid/src",
"${srcDir}/fine-poi/src", "${srcDir}/fine-poi/src",
"${srcDir}/fine-quartz/src"] "${srcDir}/fine-quartz/src",
"${srcDir}/fine-spring/src"
]
} }
} }
@ -30,17 +31,18 @@ repositories{
mavenCentral() mavenCentral()
} }
// //
FileTree files =fileTree(dir:'./',include:'build.*.gradle') FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\')) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\'))
def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1) def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1)
// //
dependencies{ dependencies{
compile fileTree(dir:"${srcDir}/fine-druid/lib",include:'ojdbc7-12.1.0.jar') compile fileTree(dir:"${srcDir}/fine-druid/lib",include:'ojdbc7-12.1.0.jar')
compile fileTree(dir:"${srcDir}/fine-druid/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-druid/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/fine-poi/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-poi/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/fine-quartz/lib",include:'**/*.jar') compile fileTree(dir:"${srcDir}/fine-quartz/lib",include:'**/*.jar')
compile fileTree(dir:"${srcDir}/fine-spring/lib",include:'**/*.jar')
compile fileTree(dir:"../../finereport-lib-base/${branchName}",include:'**/*.jar') compile fileTree(dir:"../../finereport-lib-base/${branchName}",include:'**/*.jar')
compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar') compile fileTree(dir:"../../finereport-lib-other/${branchName}",include:'**/*.jar')
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'
@ -65,11 +67,14 @@ task unJar{
fileset(dir:"${srcDir}/fine-poi/lib"){ fileset(dir:"${srcDir}/fine-poi/lib"){
include(name:'**/*.jar') include(name:'**/*.jar')
} }
fileset(dir:"${srcDir}/fine-spring/lib"){
include(name:'**/*.jar')
}
} }
} }
} }
// //
def dataContent ={def dir -> def dataContent ={def dir ->
copySpec{ copySpec{
from ("${dir}"){ from ("${dir}"){
@ -84,6 +89,7 @@ task copyFiles(type:Copy,dependsOn:'unJar'){
with dataContent.call("${srcDir}/fine-druid/src") with dataContent.call("${srcDir}/fine-druid/src")
with dataContent.call("${srcDir}/fine-poi/src") with dataContent.call("${srcDir}/fine-poi/src")
with dataContent.call("${srcDir}/fine-quartz/src") with dataContent.call("${srcDir}/fine-quartz/src")
with dataContent.call("${srcDir}/fine-spring/src")
into "${classesDir}" into "${classesDir}"
} }
} }
@ -94,6 +100,7 @@ task deleteSrc(dependsOn:'build') {
delete(dir:"${srcDir}/fine-druid") delete(dir:"${srcDir}/fine-druid")
delete(dir:"${srcDir}/fine-poi") delete(dir:"${srcDir}/fine-poi")
delete(dir:"${srcDir}/fine-quartz") delete(dir:"${srcDir}/fine-quartz")
delete(dir:"${srcDir}/fine-spring")
} }

BIN
fine-spring/lib/aopalliance-1.0.jar

Binary file not shown.

BIN
fine-spring/lib/asm-4.0.jar

Binary file not shown.

BIN
fine-spring/lib/asm-analysis-4.0.jar

Binary file not shown.

BIN
fine-spring/lib/asm-commons-4.0.jar

Binary file not shown.

BIN
fine-spring/lib/asm-tree-4.0.jar

Binary file not shown.

BIN
fine-spring/lib/asm-util-4.0.jar

Binary file not shown.

BIN
fine-spring/lib/aspectjweaver-1.8.4.jar

Binary file not shown.

BIN
fine-spring/lib/bcmail-jdk14-1.38.jar

Binary file not shown.

BIN
fine-spring/lib/bcmail-jdk14-138.jar

Binary file not shown.

BIN
fine-spring/lib/bcprov-jdk14-1.38.jar

Binary file not shown.

BIN
fine-spring/lib/bctsp-jdk14-1.38.jar

Binary file not shown.

BIN
fine-spring/lib/bsh-2.0b4.jar

Binary file not shown.

BIN
fine-spring/lib/bytelist-1.0.11.jar

Binary file not shown.

BIN
fine-spring/lib/commons-beanutils-1.8.3.jar

Binary file not shown.

BIN
fine-spring/lib/commons-codec-1.6.jar

Binary file not shown.

BIN
fine-spring/lib/commons-collections-3.2.1.jar

Binary file not shown.

BIN
fine-spring/lib/commons-fileupload-1.3.1.jar

Binary file not shown.

BIN
fine-spring/lib/commons-io-2.2.jar

Binary file not shown.

BIN
fine-spring/lib/commons-lang-2.4.jar

Binary file not shown.

BIN
fine-spring/lib/commons-logging-1.1.3.jar

Binary file not shown.

BIN
fine-spring/lib/commons-pool-1.6.jar

Binary file not shown.

BIN
fine-spring/lib/ejb-api-3.0.jar

Binary file not shown.

BIN
fine-spring/lib/freemarker-2.3.20.jar

Binary file not shown.

BIN
fine-spring/lib/groovy-all-1.8.9.jar

Binary file not shown.

BIN
fine-spring/lib/hessian-4.0.7.jar

Binary file not shown.

BIN
fine-spring/lib/hibernate-validator-4.3.2.Final.jar

Binary file not shown.

BIN
fine-spring/lib/httpasyncclient-4.0.2.jar

Binary file not shown.

BIN
fine-spring/lib/httpclient-4.3.6.jar

Binary file not shown.

BIN
fine-spring/lib/httpcore-4.3.3.jar

Binary file not shown.

BIN
fine-spring/lib/httpcore-nio-4.3.2.jar

Binary file not shown.

BIN
fine-spring/lib/invokebinder-1.2.jar

Binary file not shown.

BIN
fine-spring/lib/itext-2.1.7.jar

Binary file not shown.

BIN
fine-spring/lib/jackson-annotations-2.3.0.jar

Binary file not shown.

BIN
fine-spring/lib/jackson-core-2.3.4.jar

Binary file not shown.

BIN
fine-spring/lib/jackson-core-asl-1.9.13.jar

Binary file not shown.

BIN
fine-spring/lib/jackson-databind-2.3.4.jar

Binary file not shown.

BIN
fine-spring/lib/jackson-mapper-asl-1.9.13.jar

Binary file not shown.

BIN
fine-spring/lib/jamon-2.4.jar

Binary file not shown.

BIN
fine-spring/lib/jasperreports-5.5.1.jar

Binary file not shown.

BIN
fine-spring/lib/javassist-3.7.ga.jar

Binary file not shown.

BIN
fine-spring/lib/javax.el-api-2.2.5.jar

Binary file not shown.

BIN
fine-spring/lib/javax.enterprise.concurrent-api-1.0.jar

Binary file not shown.

BIN
fine-spring/lib/javax.faces-api-2.2.jar

Binary file not shown.

BIN
fine-spring/lib/javax.inject-1.jar

Binary file not shown.

BIN
fine-spring/lib/javax.servlet-api-3.0.1.jar

Binary file not shown.

BIN
fine-spring/lib/javax.servlet.jsp-api-2.2.1.jar

Binary file not shown.

BIN
fine-spring/lib/javax.servlet.jsp.jstl-api-1.2.1.jar

Binary file not shown.

BIN
fine-spring/lib/jboss-logging-3.1.0.CR2.jar

Binary file not shown.

BIN
fine-spring/lib/jcodings-1.0.10.jar

Binary file not shown.

BIN
fine-spring/lib/jdom-1.0.jar

Binary file not shown.

BIN
fine-spring/lib/jetty-server-9.1.5.v20140505.jar

Binary file not shown.

BIN
fine-spring/lib/jetty-servlet-9.1.5.v20140505.jar

Binary file not shown.

BIN
fine-spring/lib/jffi-1.2.7-native.jar

Binary file not shown.

BIN
fine-spring/lib/jffi-1.2.7.jar

Binary file not shown.

BIN
fine-spring/lib/jnr-constants-0.8.5.jar

Binary file not shown.

BIN
fine-spring/lib/jnr-enxio-0.4.jar

Binary file not shown.

BIN
fine-spring/lib/jnr-ffi-2.0.0.jar

Binary file not shown.

BIN
fine-spring/lib/jnr-netdb-1.1.2.jar

Binary file not shown.

BIN
fine-spring/lib/jnr-posix-3.0.8.jar

Binary file not shown.

BIN
fine-spring/lib/jnr-unixsocket-0.3.jar

Binary file not shown.

BIN
fine-spring/lib/jnr-x86asm-1.0.2.jar

Binary file not shown.

BIN
fine-spring/lib/joda-time-2.5.jar

Binary file not shown.

BIN
fine-spring/lib/joni-2.1.3.jar

Binary file not shown.

BIN
fine-spring/lib/jopt-simple-4.6.jar

Binary file not shown.

BIN
fine-spring/lib/jruby-core-1.7.17.jar

Binary file not shown.

BIN
fine-spring/lib/jruby-stdlib-1.7.17.jar

Binary file not shown.

BIN
fine-spring/lib/jxl-2.6.12.jar

Binary file not shown.

BIN
fine-spring/lib/jzlib-1.1.3.jar

Binary file not shown.

BIN
fine-spring/lib/log4j-1.2.17.jar

Binary file not shown.

BIN
fine-spring/lib/mvel2-2.0.11.jar

Binary file not shown.

BIN
fine-spring/lib/nailgun-server-0.9.1.jar

Binary file not shown.

BIN
fine-spring/lib/ognl-2.7.3.jar

Binary file not shown.

BIN
fine-spring/lib/options-1.2.jar

Binary file not shown.

BIN
fine-spring/lib/poi-3.10.1.jar

Binary file not shown.

BIN
fine-spring/lib/portlet-api-2.0.jar

Binary file not shown.

BIN
fine-spring/lib/rome-1.0.jar

Binary file not shown.

BIN
fine-spring/lib/snakeyaml-1.13.jar

Binary file not shown.

BIN
fine-spring/lib/spring-cglib-repack-3.1.jar

Binary file not shown.

BIN
fine-spring/lib/spring-objenesis-repack-2.1.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-api-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-compat-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-core-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-el-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-extras-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-freemarker-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-jsp-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-mvel-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-ognl-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-servlet-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-servlet-wildcard-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-template-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/tiles-velocity-2.2.2.jar

Binary file not shown.

BIN
fine-spring/lib/validation-api-1.0.0.GA.jar

Binary file not shown.

BIN
fine-spring/lib/velocity-1.7.jar

Binary file not shown.

BIN
fine-spring/lib/yecht-1.0.jar

Binary file not shown.

60
fine-spring/src/com/fr/third/springframework/aop/Advisor.java

@ -0,0 +1,60 @@
/*
* Copyright 2002-2012 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 com.fr.third.springframework.aop;
import org.aopalliance.aop.Advice;
/**
* Base interface holding AOP <b>advice</b> (action to take at a joinpoint)
* and a filter determining the applicability of the advice (such as
* a pointcut). <i>This interface is not for use by Spring users, but to
* allow for commonality in support for different types of advice.</i>
*
* <p>Spring AOP is based around <b>around advice</b> delivered via method
* <b>interception</b>, compliant with the AOP Alliance interception API.
* The Advisor interface allows support for different types of advice,
* such as <b>before</b> and <b>after</b> advice, which need not be
* implemented using interception.
*
* @author Rod Johnson
*/
public interface Advisor {
/**
* 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();
/**
* 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.
* <p><b>Note that this method is not currently used by the framework.</b>
* Typical Advisor implementations always return {@code true}.
* Use singleton/prototype bean definitions or appropriate programmatic
* proxy creation to ensure that Advisors have the correct lifecycle model.
* @return whether this advice is associated with a particular target instance
*/
boolean isPerInstance();
}

31
fine-spring/src/com/fr/third/springframework/aop/AfterAdvice.java

@ -0,0 +1,31 @@
/*
* Copyright 2002-2007 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 com.fr.third.springframework.aop;
import org.aopalliance.aop.Advice;
/**
* Common marker interface for after advice,
* such as {@link AfterReturningAdvice} and {@link ThrowsAdvice}.
*
* @author Juergen Hoeller
* @since 2.0.3
* @see BeforeAdvice
*/
public interface AfterAdvice extends Advice {
}

44
fine-spring/src/com/fr/third/springframework/aop/AfterReturningAdvice.java

@ -0,0 +1,44 @@
/*
* Copyright 2002-2012 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 com.fr.third.springframework.aop;
import java.lang.reflect.Method;
/**
* After returning advice is invoked only on normal method return, not if an
* exception is thrown. Such advice can see the return value, but cannot change it.
*
* @author Rod Johnson
* @see MethodBeforeAdvice
* @see ThrowsAdvice
*/
public interface AfterReturningAdvice extends AfterAdvice {
/**
* Callback after a given method successfully returned.
* @param returnValue the value returned by the method, if any
* @param method method being invoked
* @param args arguments to the method
* @param target target of the method invocation. May be {@code null}.
* @throws Throwable if this object wishes to abort the call.
* Any exception thrown will be returned to the caller if it's
* allowed by the method signature. Otherwise the exception
* will be wrapped as a runtime exception.
*/
void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable;
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save