public HashMap < String , Object > execute ( Transaction trans , Map < String , Object > args ) throws PersistenceException { Map < String , Object > r = executeEvent ( trans , args , 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 this event in the specified transaction context .