Interface ProcessHandleProvider
- All Known Implementing Classes:
StandardProcessHandleProvider
public interface ProcessHandleProvider
Abstraction for finding a Process Handle
-
Method Summary
Modifier and TypeMethodDescriptionFind Application Process HandleFind Bootstrap Process Handle
-
Method Details
-
findApplicationProcessHandle
Optional<ProcessHandle> findApplicationProcessHandle()Find Application Process Handle- Returns:
- Application Process Handle or empty when not found
-
findBootstrapProcessHandle
Optional<ProcessHandle> findBootstrapProcessHandle()Find Bootstrap Process Handle- Returns:
- Bootstrap Process Handle or empty when not found
-