List of usage examples for org.springframework.beans PropertyEditorRegistrySupport PropertyEditorRegistrySupport
PropertyEditorRegistrySupport
From source file:org.uimafit.propertyeditors.GetAsTextStringEditor.java
public GetAsTextStringEditor(final PropertyEditorRegistry aEditorRegistry) { editorRegistry = aEditorRegistry;/*from w ww . ja va 2 s.co m*/ if (aEditorRegistry instanceof PropertyEditorRegistrySupport) { editorRegistrySupport = (PropertyEditorRegistrySupport) aEditorRegistry; } else { editorRegistrySupport = new PropertyEditorRegistrySupport(); } }
From source file:com.zaubersoftware.mule.module.jenkins.JenkinsCloudConnector.java
/** Creates the JenkinsCloudConnector. */ public JenkinsCloudConnector() { loader = new DefaultResourceLoader(); new ResourceEditorRegistrar(loader).registerCustomEditors(new PropertyEditorRegistrySupport()); }