Example usage for org.springframework.beans PropertyEditorRegistrySupport PropertyEditorRegistrySupport

List of usage examples for org.springframework.beans PropertyEditorRegistrySupport PropertyEditorRegistrySupport

Introduction

In this page you can find the example usage for org.springframework.beans PropertyEditorRegistrySupport PropertyEditorRegistrySupport.

Prototype

PropertyEditorRegistrySupport

Source Link

Usage

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());
}