// actual array instances are not instantiated during loading
finishLoadingArrays( context );
// IMPORTANT: reuse the same event instances for performance!
final PreLoadEvent preLoadEvent;
final PostLoadEvent postLoadEvent;
if ( context.getSession().isEventSource() ) {
preLoadEvent = new PreLoadEvent( (EventSource) context.getSession() );
postLoadEvent = new PostLoadEvent( (EventSource) context.getSession() );
}
else {
preLoadEvent = null;
postLoadEvent = null;