comparison artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java @ 249:c47a640cfdae

Enhanced the bootstrap - the CallContext.Listener is initialized (if configured). artifacts/trunk@1692 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 14 Apr 2011 13:08:49 +0000
parents 3a1209f214f5
children 366cf4694d45
comparison
equal deleted inserted replaced
248:eafe59ecfb7e 249:c47a640cfdae
428 428
429 setupArtifactCollectionFactory(bootstrap); 429 setupArtifactCollectionFactory(bootstrap);
430 setupArtifactFactories(bootstrap); 430 setupArtifactFactories(bootstrap);
431 setupServices(bootstrap); 431 setupServices(bootstrap);
432 setupUserFactory(bootstrap); 432 setupUserFactory(bootstrap);
433 setupCallContextListener(bootstrap);
433 434
434 context = bootstrap.getContext(); 435 context = bootstrap.getContext();
435 exportSecret = bootstrap.getExportSecret(); 436 exportSecret = bootstrap.getExportSecret();
436 437
437 wireWithBackend(backend); 438 wireWithBackend(backend);
479 480
480 name2factory.put(name, factory); 481 name2factory.put(name, factory);
481 } 482 }
482 } 483 }
483 484
485 /**
486 * Used to extract the callContextListener from the bootstrap.
487 *
488 * @param bootstrap The bootstrap parameters.
489 */
490 protected void setupCallContextListener(FactoryBootstrap bootstrap) {
491 setCallContextListener(bootstrap.getCallContextListener());
492 }
484 493
485 /** 494 /**
486 * Used to extract the user factory from the bootstrap. 495 * Used to extract the user factory from the bootstrap.
487 */ 496 */
488 protected void setupUserFactory(FactoryBootstrap bootstrap) { 497 protected void setupUserFactory(FactoryBootstrap bootstrap) {

http://dive4elements.wald.intevation.org