use of com.j256.simplejmx.client.JmxClient in project Entitas-Java by Rubentxu.
the class VisualDebbuger method start.
@Override
public void start(Stage primaryStage) throws Exception {
FXMLLoader loader = new FXMLLoader(getClass().getClassLoader().getResource("VisualDebbuger.fxml"));
Parent root = loader.load();
primaryStage.setTitle("CodeGenerator");
primaryStage.setScene(new Scene(root, 560, 575));
primaryStage.setResizable(false);
primaryStage.show();
stage = primaryStage;
client = new JmxClient("localhost", 1313);
Set<ObjectName> names = client.getBeanNames();
beanNames.setText(names.stream().map(n -> n.getKeyPropertyListString()).reduce(String::concat).get());
// MBeanAttributeInfo[] attributeInfos =
// client.getAttributesInfo(objectName);
// MBeanOperationInfo[] operationInfos =
// client.getOperationsInfo(objectName);
}
Aggregations