awips2/tests/integration/com/raytheon/uf/edex/datadelivery/bandwidth/IntegrationTestBandwidthInitializer.java
Dustin Johnson aaa34b241a Issue #2106 Improve BandwidthManager performance
- Use copy constructors
- Separate BandwidthBucket handling into a DAO
- Preparations to remove all in-memory object handling

Amend: Copy more calendar and byte array objects

Change-Id: I72f4813c0780586585409a9a64c7915adc1ccbae

Former-commit-id: 4526635405 [formerly 124edcbd15] [formerly a6575c3235 [formerly e11242447c3c93f403cd546df4315381486e465c]]
Former-commit-id: a6575c3235
Former-commit-id: 11a1972265
2013-07-08 10:22:30 -05:00

67 lines
1.9 KiB
Java

/**
* This software was developed and / or modified by Raytheon Company,
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
*
* U.S. EXPORT CONTROLLED TECHNICAL DATA
* This software product contains export-restricted data whose
* export/transfer/disclosure is restricted by U.S. law. Dissemination
* to non-U.S. persons whether in the United States or abroad requires
* an export license or other authorization.
*
* Contractor Name: Raytheon Company
* Contractor Address: 6825 Pine Street, Suite 340
* Mail Stop B8
* Omaha, NE 68106
* 402.291.0100
*
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
* further licensing information.
**/
package com.raytheon.uf.edex.datadelivery.bandwidth;
import com.raytheon.uf.edex.datadelivery.bandwidth.dao.IBandwidthDbInit;
import com.raytheon.uf.edex.datadelivery.bandwidth.interfaces.BandwidthInitializer;
import com.raytheon.uf.edex.datadelivery.bandwidth.retrieval.RetrievalManager;
/**
* Integration test {@link BandwidthInitializer}.
*
* <pre>
*
* SOFTWARE HISTORY
*
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Oct 12, 2012 0726 djohnson Initial creation
* Apr 16, 2013 1906 djohnson Implements RegistryInitializedListener.
*
* </pre>
*
* @author djohnson
* @version 1.0
*/
public class IntegrationTestBandwidthInitializer implements
BandwidthInitializer {
/**
* {@inheritDoc}
*/
@Override
public boolean init(IBandwidthManager instance, IBandwidthDbInit dbInit,
RetrievalManager retrievalManager) {
retrievalManager.initRetrievalPlans();
return true;
}
/**
* {@inheritDoc}
*/
@Override
public void executeAfterRegistryInit() {
// Nothing to do
}
}