polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject SPI or @Structure
Date Wed, 07 Dec 2016 09:46:44 GMT
The org.apache.zest.spi.module.ModuleSpi contains access methods to a bunch
of useful SPI internals, such as EntityStore, TypeLookup and more.

Should we not just kill this class and provide that via @Structure
injection, since that is what we do with factories (and ServiceFinder?)

If not, shouldn't then everything be moved to the Module or ModuleSpi as
methods, instead of injectable types?

WDYT?

Cheers
-- 
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message