public Object invokeAndClose ( ManagementDelegate delegate , JournalWriter writer ) throws ServerException , JournalException { Object result = invokeMethod ( delegate , writer ) ; close ( ) ; return result ; }
A convenience method that invokes the management method and then closes the JournalEntry thereby cleaning up any temp files .