Interesting. I've been looking for the same and thought I was going crazy. Did you ever find them?
JBoss uses the hibernate code to handle it. You can look at the Hibernate source api, at
while the actual code is in the Entity Manager event handler routines.