1 /* 2 * Copyright 2022 The OSHI Project Contributors 3 * SPDX-License-Identifier: MIT 4 */ 5 package oshi.demo.jmx.api; 6 7 import javax.management.MBeanServer; 8 import java.io.IOException; 9 10 public interface JMXOshiAgent extends MBeanServer { 11 public void startAgent() throws IOException; 12 13 public void stopAgent() throws IOException; 14 15 }