Interface AttachAPIResolver


  • public interface AttachAPIResolver
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getAttachAPIClass()
      Provides a service for obtaining the Java Attach API Virtual Machine class as defined by https://docs.oracle.com/javase/6/docs/jdk/api/attach/spec/com/sun/tools/attach/VirtualMachine.html The Class returned is generally from the system classloader.
    • Method Detail

      • getAttachAPIClass

        @Nullable
        java.lang.Class<?> getAttachAPIClass()
        Provides a service for obtaining the Java Attach API Virtual Machine class as defined by https://docs.oracle.com/javase/6/docs/jdk/api/attach/spec/com/sun/tools/attach/VirtualMachine.html The Class returned is generally from the system classloader. Multiple AttachAPIs will be tried in order of service priority. While bundles may load and unload dynamically, this service must be available at the time this bundle is loaded as agent association happens immediately upon application start and cannot be undone or retried at a later time. These services will only be used if the associated agent is not provided via java command line argument.