/** * {@inheritDoc} */ @Override public void afterPropertiesSet() throws Exception { // log version if (log.isInfoEnabled()) { log.info("Using agent version " + versionService.getVersionAsString() + "."); } loadConfigurationFromJvmParameters(); if ((null == repository) || StringUtils.isEmpty(agentName)) { throw new BeanInitializationException("inspectIT agent must be initialized with IP and port of the CMR via JVM parameters."); } }