private ModelNode createJVMNode ( ) throws OperationFailedException { ModelNode jvm = new ModelNode ( ) . setEmptyObject ( ) ; jvm . get ( NAME ) . set ( getProperty ( "java.vm.name" ) ) ; jvm . get ( JAVA_VERSION ) . set ( getProperty ( "java.vm.specification.version" ) ) ; jvm . get ( JVM_VERSION ) . set ( getProperty ( "java.version" ) ) ; jvm . get ( JVM_VENDOR ) . set ( getProperty ( "java.vm.vendor" ) ) ; jvm . get ( JVM_HOME ) . set ( getProperty ( "java.home" ) ) ; return jvm ; }
Create a ModelNode representing the JVM the instance is running on .