• Post Reply Bookmark Topic Watch Topic
  • New Topic

Example of reusing common functionality (like transaction management) using reflection and delegates  RSS feed

 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody give an example about reusing the same functionality like transaction management (begintrans, committrans and rollbacktrans) using two methods : reflection and delegates? thanks.
 
Campbell Ritchie
Sheriff
Posts: 55351
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why on earth would you want to use reflection for that sort of thing?

This isn't a "beginning Java" question, so I shall move this discussion.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!