[ https://issues.apache.org/jira/browse/LABS-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031879#comment-14031879 ]
jan iversen commented on LABS-221: ---------------------------------- Is this still an issue, if not please close it (or let me close it) > [refactoring] [all] Use cglib MethodInterceptors wherever a string containing > a field name, menthod name or similar is currently expected > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: LABS-221 > URL: https://issues.apache.org/jira/browse/LABS-221 > Project: Labs > Issue Type: Improvement > Components: Magma > Affects Versions: Current > Reporter: Simone Gianni > Assignee: Simone Gianni > Priority: Critical > Fix For: Next > > > Being one of the goals of Magma to offer a system which is at the same time > flexible as a dynamic one, but completely compiled, having Strings to denote > fields, property or method names is useless. cglib seems to be today the only > alternative to dynamic proxies, and the only way when no interfaces are > present. > It is not a complete solution anyway, cause cannot handle casts, but should > suffice for 80% of situations. Using a nice combination of CharSequence and > syntactic sugar (see JMock and harmcrest), it should be possible to retain > compatibility with the String based approach for situations when cglib is not > enough. -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org For additional commands, e-mail: labs-h...@labs.apache.org