cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Module "builders" to "extenders"
Date Mon, 29 May 2017 15:04:40 GMT
Just squeezed an 11th hour change before we freeze the Beta:

The goal is to eliminate a new API inconsistency. With the introduction of auto-lodable modules,
classes that we used to call FooModuleBuilder no longer build a FooModule. The module is loaded
automatically and can not be changed. The corresponding "builder" builds a separate custom
module with extensions. This pattern is present in:

1. CommitLogModuleBuilder
2. CacheInvalidationModuleBuilder
3. CryptoModuleBuilder
(4. OsgiModuleBuilder... if we make it auto-loadable)

Instead of a builder there's now an "extender", which is otherwise analogous to the builder,
and the invocation looks like this:

  Module extensions = 

I changed #1, and if there are no objections will change #2 and #3. 


View raw message