Closed sbernard31 closed 9 years ago
In Leshan Server, we have some crapy code
// start client registry if (clientRegistry instanceof ClientRegistryImpl) { ((ClientRegistryImpl) clientRegistry).start(); }
Maybe, a good way to remove this kind of code is to propose 3 interface Startable, Stopable and Destroyable, which could be implemented by registries if needed. LeshanServer could start, stop or/and destroy it when needed.
Integrated in master
In Leshan Server, we have some crapy code
Maybe, a good way to remove this kind of code is to propose 3 interface Startable, Stopable and Destroyable, which could be implemented by registries if needed. LeshanServer could start, stop or/and destroy it when needed.