{"author_url":"https://blog.hatena.ne.jp/jyukutyo/","type":"rich","categories":["java","jvm"],"version":"1.0","blog_url":"https://www.sakatakoichi.com/","height":"190","provider_name":"Hatena Blog","published":"2016-12-01 23:42:13","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F2016%2F12%2F01%2F234213\" title=\"How can I get a web application classloader in Java Agent&#39;s method agentmain() - Fight the Future\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","width":"100%","description":"I implement Java Agent which transform classes of a web application running in an application server. To do so, I need a web application classloader which load these classes. I know Instrument#getAllLoadedClasses() method. But this method returns Class array, so I retrieve the Class loaded by web ap\u2026","image_url":null,"title":"How can I get a web application classloader in Java Agent's method agentmain()","author_name":"jyukutyo","url":"https://www.sakatakoichi.com/entry/2016/12/01/234213","blog_title":"Fight the Future"}