- public E2ManagerConfiguration(@Value("${e2mgr.basepath}") final String e2mgrBasepath) {
- Assert.notNull(e2mgrBasepath, "base path must not be null");
- logger.info("Configuring E2 Manager at base path {}", e2mgrBasepath);
- this.e2mgrBasepath = e2mgrBasepath;
+ public E2ManagerConfiguration(@Value("${e2mgr.url}") final String url) throws MalformedURLException {
+ logger.info("Configuring E2 Manager at base URL {}", url);
+ new URL(url);
+ this.e2mgrUrl = url;