dataDirectories.add( fileConfig.configurationDirectory() );
dataDirectories.add( fileConfig.cacheDirectory() );
dataDirectories.add( fileConfig.dataDirectory() );
dataDirectories.add( fileConfig.logDirectory() );
dataDirectories.add( fileConfig.temporaryDirectory() );
application.registerActivationEventListener( new ActivationEventListener()
{
@Override
public void onEvent( ActivationEvent event )
{
if( event.type() == ActivationEvent.EventType.PASSIVATED && Application.class.isAssignableFrom( event.source().getClass() ) )