aboutsummaryrefslogtreecommitdiffstats
path: root/api/src/main/java/market/guess/OutputProviderFactory.java
diff options
context:
space:
mode:
authorKostya <mail@sartin.in>2026-08-10 20:21:55 +0000
committerKostya <mail@sartin.in>2026-08-10 20:21:55 +0000
commit9d19a3187789f01d6dbbc73d14c7f90df3e67560 (patch)
treef93b0727ef25ef046e7f4d90c195cdd4bcf19348 /api/src/main/java/market/guess/OutputProviderFactory.java
parent34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13 (diff)
downloadguess-market-9d19a3187789f01d6dbbc73d14c7f90df3e67560.tar.gz
guess-market-9d19a3187789f01d6dbbc73d14c7f90df3e67560.tar.xz
guess-market-9d19a3187789f01d6dbbc73d14c7f90df3e67560.zip
Move engine contracts to api module, add I/O provider abstraction and PicoContainer wiring
Relocates GuessMarketEngine/GuessMarketContext into market.guess.api so engine and ui-console depend on a shared contract instead of engine internals, and makes context loading async (CompletableFuture). Adds InputProvider/OutputProvider interfaces with console implementations, wires the console app's Menu through a PicoContainer, and adds the generated model classes plus vendored picocontainer jar needed to build it.
Diffstat (limited to 'api/src/main/java/market/guess/OutputProviderFactory.java')
-rw-r--r--api/src/main/java/market/guess/OutputProviderFactory.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/src/main/java/market/guess/OutputProviderFactory.java b/api/src/main/java/market/guess/OutputProviderFactory.java
new file mode 100644
index 0000000..b4eb7f5
--- /dev/null
+++ b/api/src/main/java/market/guess/OutputProviderFactory.java
@@ -0,0 +1,5 @@
1package market.guess;
2
3public interface OutputProviderFactory {
4 OutputProvider create();
5}