Top Description Fields Constructors Methods
org.springframework.jndi

public Class JndiTemplateEditor

extends PropertyEditorSupport
Class Inheritance
Imports
java.beans.PropertyEditorSupport, java.util.Properties, org.springframework.beans.propertyeditors.PropertiesEditor, org.springframework.lang.Nullable

Properties editor for JndiTemplate objects. Allows properties of type JndiTemplate to be populated with a properties-format string.
Author
Rod Johnson
Since
09.05.2003

Field Summary

Modifier and TypeField and Description
private final PropertiesEditor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
setAsText(String
The string to be parsed.
text
)

Overrides java.beans.PropertyEditorSupport.setAsText.

Implements java.beans.PropertyEditor.setAsText.

Sets the property value by parsing a given String.

Inherited from java.beans.PropertyEditorSupport:
addPropertyChangeListenerfirePropertyChangegetAsTextgetCustomEditorgetJavaInitializationStringgetSourcegetTagsgetValueisPaintablepaintValueremovePropertyChangeListenersetSourcesetValuesupportsCustomEditor

Field Detail

propertiesEditorback to summary
private final PropertiesEditor propertiesEditor

Constructor Detail

JndiTemplateEditorback to summary
public JndiTemplateEditor()

Method Detail

setAsTextback to summary
public void setAsText(String text) throws IllegalArgumentException

Overrides java.beans.PropertyEditorSupport.setAsText.

Implements java.beans.PropertyEditor.setAsText.

Doc from java.beans.PropertyEditorSupport.setAsText.

Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.

Parameters
text:String

The string to be parsed.

Annotations
@Override