
io.github.factoryfx.copperbridge.PersistentEngineContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of copperBridge Show documentation
Show all versions of copperBridge Show documentation
factoryfx dependency injection framework
The newest version!
package io.github.factoryfx.copperbridge;
import org.copperengine.core.batcher.impl.BatcherImpl;
import org.copperengine.core.persistent.PersistentScottyEngine;
public class PersistentEngineContainer {
final PersistentScottyEngine persistentProcessingEngine;
private final BatcherImpl batcher;
PersistentEngineContainer(PersistentScottyEngine persistentProcessingEngine, BatcherImpl batcher) {
this.persistentProcessingEngine = persistentProcessingEngine;
this.batcher = batcher;
}
void startup() {
batcher.startup();
persistentProcessingEngine.startup();
}
void shutdown() {
persistentProcessingEngine.shutdown();
batcher.shutdown();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy