Package net.bytebuddy.agent
Interface VirtualMachine.ForHotSpot.Connection.Factory
- All Known Implementing Classes:
VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFile
- Enclosing interface:
VirtualMachine.ForHotSpot.Connection
public static interface VirtualMachine.ForHotSpot.Connection.Factory
A factory for creating connections to virtual machines.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A factory for attaching via a socket file. -
Method Summary
Modifier and TypeMethodDescriptionConnects to the supplied process.
-
Method Details
-
connect
Connects to the supplied process.- Parameters:
processId
- The process id.- Returns:
- The connection to the virtual machine with the supplied process id.
- Throws:
IOException
- If an I/O exception occurs during connecting to the targeted VM.
-