Source Code Cross Referenced for ProxyMethodInvocation.java in  » J2EE » spring-framework-2.5 » org » springframework » aop » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » spring framework 2.5 » org.springframework.aop 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Copyright 2002-2007 the original author or authors.
03:         *
04:         * Licensed under the Apache License, Version 2.0 (the "License");
05:         * you may not use this file except in compliance with the License.
06:         * You may obtain a copy of the License at
07:         *
08:         *      http://www.apache.org/licenses/LICENSE-2.0
09:         *
10:         * Unless required by applicable law or agreed to in writing, software
11:         * distributed under the License is distributed on an "AS IS" BASIS,
12:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13:         * See the License for the specific language governing permissions and
14:         * limitations under the License.
15:         */
16:
17:        package org.springframework.aop;
18:
19:        import org.aopalliance.intercept.MethodInvocation;
20:
21:        /**
22:         * Extension of the AOP Alliance {@link org.aopalliance.intercept.MethodInvocation}
23:         * interface, allowing access to the proxy that the method invocation was made through.
24:         *
25:         * <p>Useful to be able to substitute return values with the proxy,
26:         * if necessary, for example if the invocation target returned itself.
27:         *
28:         * @author Juergen Hoeller
29:         * @author Adrian Colyer
30:         * @since 1.1.3
31:         * @see org.springframework.aop.framework.ReflectiveMethodInvocation
32:         * @see org.springframework.aop.support.DelegatingIntroductionInterceptor
33:         */
34:        public interface ProxyMethodInvocation extends MethodInvocation {
35:
36:            /**
37:             * Return the proxy that this method invocation was made through.
38:             * @return the original proxy object
39:             */
40:            Object getProxy();
41:
42:            /**
43:             * Create a clone of this object. If cloning is done before <code>proceed()</code>
44:             * is invoked on this object, <code>proceed()</code> can be invoked once per clone
45:             * to invoke the joinpoint (and the rest of the advice chain) more than once.
46:             * @return an invocable clone of this invocation.
47:             * <code>proceed()</code> can be called once per clone.
48:             */
49:            MethodInvocation invocableClone();
50:
51:            /**
52:             * Create a clone of this object. If cloning is done before <code>proceed()</code>
53:             * is invoked on this object, <code>proceed()</code> can be invoked once per clone
54:             * to invoke the joinpoint (and the rest of the advice chain) more than once.
55:             * @param arguments the arguments that the cloned invocation is supposed to use,
56:             * overriding the original arguments
57:             * @return an invocable clone of this invocation.
58:             * <code>proceed()</code> can be called once per clone.
59:             */
60:            MethodInvocation invocableClone(Object[] arguments);
61:
62:            /**
63:             * Set the arguments to be used on subsequent invocations in the any advice
64:             * in this chain.
65:             * @param arguments the argument array
66:             */
67:            void setArguments(Object[] arguments);
68:
69:            /**
70:             * Add the specified user attribute with the given value to this invocation.
71:             * <p>Such attributes are not used within the AOP framework itself. They are
72:             * just kept as part of the invocation object, for use in special interceptors.
73:             * @param key the name of the attribute
74:             * @param value the value of the attribute, or <code>null</code> to reset it
75:             */
76:            void setUserAttribute(String key, Object value);
77:
78:            /**
79:             * Return the value of the specified user attribute.
80:             * @param key the name of the attribute
81:             * @return the value of the attribute, or <code>null</code> if not set
82:             * @see #setUserAttribute
83:             */
84:            Object getUserAttribute(String key);
85:
86:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.