List of usage examples for org.springframework.beans.propertyeditors URLEditor setAsText
@Override public void setAsText(String text) throws IllegalArgumentException
From source file:no.uis.fsws.proxy.StudinfoServiceFactory.java
@ManagedOperation(description = "Set the user-dependent transformer URL") @ManagedOperationParameters({ @ManagedOperationParameter(name = "username", description = "the username"), @ManagedOperationParameter(name = "url", description = "string representation of the URL, Spring syntax") }) public void setUserTransformerUrl(String username, String url) { URLEditor urlEditor = new URLEditor(); urlEditor.setAsText(url); URL trUrl = (URL) urlEditor.getValue(); // do the clean-up successively to avoid dead-lock putTransformerUrl(username, trUrl);// w ww. j a v a 2 s .co m clearServiceCacheEntry(username); }