Class ByteBuddyAgent.AgentProvider.ForExistingAgent

    • Field Detail

      • agent

        private java.io.File agent
        The supplied agent.
    • Constructor Detail

      • ForExistingAgent

        protected ForExistingAgent​(java.io.File agent)
        Creates an agent provider for an existing agent.
        Parameters:
        agent - The supplied agent.
    • Method Detail

      • resolve

        public java.io.File resolve()
        Provides an agent jar file for attachment.
        Specified by:
        resolve in interface ByteBuddyAgent.AgentProvider
        Returns:
        The provided agent.