Class VirtualMachineManagementServerAddressProvider
java.lang.Object
org.apache.nifi.bootstrap.command.process.VirtualMachineManagementServerAddressProvider
- All Implemented Interfaces:
ManagementServerAddressProvider
public class VirtualMachineManagementServerAddressProvider
extends Object
implements ManagementServerAddressProvider
Provider implementation resolves the Management Server Address from System Properties of Application Virtual Machine using the Attach API
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet Management Server Address from System Properties of Application Virtual Machine using Attach APIprivate String
getAddress
(VirtualMachine virtualMachine)
-
Field Details
-
processHandle
-
-
Constructor Details
-
VirtualMachineManagementServerAddressProvider
-
-
Method Details
-
getAddress
Get Management Server Address from System Properties of Application Virtual Machine using Attach API- Specified by:
getAddress
in interfaceManagementServerAddressProvider
- Returns:
- Management Server Address or null when not found
-
getAddress
- Throws:
IOException
-