public HashMap < String , Object > execute ( Execution event , Map < String , Object > args ) throws PersistenceException { Map < String , Object > r = execute ( event . getClass ( ) , args ) ; if ( r == null ) { return null ; } if ( r instanceof HashMap ) { return ( HashMap < String , Object > ) r ; } else { HashMap < String , Object > tmp = new HashMap < String , Object > ( ) ; tmp . putAll ( r ) ; return tmp ; } }
Executes the specified event as part of this transaction .