Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add interceptor to persistent ejb entity to add check before returning values

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all
im using persistent ejb entity under jboss , how can i add some kind of interceptor in each ( or global ) entity
that will check a value of the object and will and decide if to return empty entity object or the full valued entity object
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic