Skip to content

How to share some data between agent and app with bytebuddy #1672

Closed Answered by raphw
white-blade asked this question in Q&A
Discussion options

You must be logged in to vote

Ideally, you create a different jar and add it as a resource to your agent jar. Upon startup of the agent, you extract the jar to a temporary location and then attach the jar to the boot loader. This way, you avoid that it gets loaded twice!

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by white-blade
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants