There was an error while loading. Please reload this page.
plugins include multiple plugin, every plugin configure the aop pointcut independently.
plugin is base on java spi, so we need some configuration at the directory path Resource/META-INF/services.
Resource/META-INF/services
For agent mode, the file name is io.manbang.zodiac.traffichandler.TrafficHandler, like:
io.manbang.zodiac.traffichandler.TrafficHandler
main └── resources └── META-INF └── services └── io.manbang.zodiac.traffichandler.TrafficHandler
For attach mode, the file name is io.manbang.zodiac.traffichandler.AttachTrafficHandler, like:
io.manbang.zodiac.traffichandler.AttachTrafficHandler
main └── resources └── META-INF └── services └── io.manbang.zodiac.traffichandler.AttachTrafficHandler
Next, we only need to add plugin class name to corresponding file.