Let’s suppose you have some interface A and a class B implementing this interface. Suppose also that you want to wrap all method invocations on interface A and do something with them before passing them to class B. One of reasons you could need to do it is logging every method call to interface A. [...]
What is Java Dynamic Proxies API?
November 2, 2009 - Author: Miron Sadziak
Categories: proxy
6 Comments
Archives
- May 2010 (2)
- April 2010 (1)
- March 2010 (1)
- December 2009 (1)
- November 2009 (8)
- October 2009 (5)
- September 2009 (6)
- August 2009 (9)
- July 2009 (7)
- June 2009 (4)
Recent Posts
- Java ClassLoader (4) – Loading a custom ClassLoader on JVM start
- Java ClassLoader (3) – Namespaces
- Java ClassLoader (2) – Write your own ClassLoader
- Java ClassLoader (1) – What is a ClassLoader?
- Internationalization with MessageFormat
- Scripting in Java
- Simple guide to Java Message Service (JMS) using ActiveMQ
- A guide to Java SimpleDateFormat in examples
- Using Java SecurityManager to grant/deny access to system functions
- How to check if String is parseable to Integer or Double?
Tags
Atomic
AtomicInteger
autoboxing
Bug
Catalyst
ClassLoader
Close
Code Quality
Collection
Comparable
CompareTo
Eclipse
equals method
File
Final
Finally
FindBugs
Generics
Global Variable
Hash Code
Internationalization
Java Compiler
Lazy Initialization
Locale
Map
Memory Leaks
MessageFormat
Micro Benchmarks
Pattern
Performance
Regular Expression
Remainder
serialization
Singleton
Split
String
Substring
Synchronization
toArray
Try/Catch
Type Erasure
Type safety
Welcome
wrapper classes
xml