/** installs files needed for JMX, to the runDir given in constructor, assuming the runDir has been created */ public void install() { if (getJmxAgentMode()!=JmxAgentModes.NONE) { getMachine().get().copyTo(ResourceUtils.create(this).getResourceFromUrl( getJmxAgentJarUrl()), getJmxAgentJarDestinationFilePath()); } if (isSecure()) { getJmxSslSupport().install(); } }