Difference between revisions of "Interface injection"

From JVMLangSummit
Jump to navigationJump to search
m (The case for Interface Injection)
Line 1: Line 1:
 
Interface Injection is a feature that allows adding interfaces that have been defined as injectable into any target class that does not already implement that interface.
 
Interface Injection is a feature that allows adding interfaces that have been defined as injectable into any target class that does not already implement that interface.
  
==The case for Interface Injection==
+
=="The case for Interface Injection"==
 
;Speaker: [http://www.thobe.org/ Tobias Ivarsson]
 
;Speaker: [http://www.thobe.org/ Tobias Ivarsson]
 
;Project: https://github.com/thobe/mlvm (a patchset for the patchset for OpenJDK)
 
;Project: https://github.com/thobe/mlvm (a patchset for the patchset for OpenJDK)

Revision as of 15:27, 18 July 2011

Interface Injection is a feature that allows adding interfaces that have been defined as injectable into any target class that does not already implement that interface.

"The case for Interface Injection"

Speaker
Tobias Ivarsson
Project
https://github.com/thobe/mlvm (a patchset for the patchset for OpenJDK)
Slides
...

Abstract

It is time to start laying out the features for Java 8. I would like to propose considering interface injection for that feature set. Interface injection is the ability to inject an interface defined as injectable into any class in the JVM. In this talk I will outline the current status of the specification and implementation of interface injection. I will go through the various areas where interface injection is applicable, such as low overhead adapters, traits, and dynamic types. And I will discuss how interface injection relates to other features, such as defender methods and invoke dynamic.