- /----------\ /--------\ /------------\ /------\
- | VppConn* | | JVpp | | Callbacks | | DTOs |
- \----+-----/ \----+---/ \------+-----/ \------/
- ^ ^ ^
- | implements | implements | implements
- /----+---------\ /----+-------\ /------+-----------\
- | VppConnImpl* +<--------+ JVppImpl | | GlobalCallback |
- \--------------/ uses \---+--------/ \-------+----------/
- | ^
- | uses | calls back
- | |
--------------------------------|-----------------------|---------------------
- | |
- | +---------------+
- C JNI | |
- v | /------------\
- /---+-------+--\ +---->+ jvpp.h* |
- | +-----+ \------------/
- | jvpp.c* |
- | +-----+ /------------\
- \--------------/ +---->+ jvpp_gen.h |
- \------------/
-
-* Components marked with an asterisk contain manually crafted Java code, which in addition
+ /--------------\ /----------\ /------------\ /------\
+ | JVppRegistry | | JVppCore | | Callbacks | | DTOs |
+ \----+---------/ \----+-----/ \------+-----/ \------/
+ ^ ^ ^
+ | implements | implements | implements
+ /----+--------------\ /---+----------\ /-----+---------\
+ | JVppRegistryImpl* +-------->+ JVppCoreImpl | | JVppCallback |
+ \-------+-----------/ inits \---+----------/ \-------+-------/
+ | | ^
+ | | uses | calls back
+ | | |
+----------|--------------------------|-----------------------|---------------------
+ | | |
+ C JNI | +-------------------+ | /-----------------\
+ v | | +-->+ jvpp_core_gen.h |
+ /--------+--------\ | | | \-----------------/
+ | jpp_registry.c* +---+ /--------+----+----\ | | |
+ \-----------------/ | | << shared lib >> | /-+--+---+------\
+ + ->+ jvpp_common* <--------+ jvpp_core.c* |
+ uses \------------------/ uses \---------------/
+
+
+* Components marked with an asterisk contain manually crafted code, which in addition