List of usage examples for org.springframework.beans.propertyeditors URLEditor getValue
public Object getValue()
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);/* w w w. jav a 2s . c o m*/ URL trUrl = (URL) urlEditor.getValue(); // do the clean-up successively to avoid dead-lock putTransformerUrl(username, trUrl); clearServiceCacheEntry(username); }