You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2013/09/21 12:31:58 UTC
[jira] [Created] (TOMEE-1040) Abstract Dynamic Beans
David Blevins created TOMEE-1040:
------------------------------------
Summary: Abstract Dynamic Beans
Key: TOMEE-1040
URL: https://issues.apache.org/jira/browse/TOMEE-1040
Project: TomEE
Issue Type: New Feature
Reporter: David Blevins
Fix For: 1.6.0
If a bean class is both abstract and implements java.lang.reflect.InvocationHandler, all abstract methods will delegate to the invoke() method of the bean.
This is achieved via dynamic subclassing. The subclass effectively replaces the bean. All constructors and annotations are moved forward to the dynamically created subclass to ensure functionality such as CDI and JAX-RS or JAX-WS continue to work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira