public class ServiceReferenceEditor extends PropertyEditorSupport
PropertyEditor that converts an <osgi:reference> element into a
ServiceReference. That is, it allows conversion between a
Spring-managed OSGi service to a Spring-managed ServiceReference.
Automatically registered by
ConfigurableOsgiBundleApplicationContext
implementations.ImportedOsgiServiceProxy| Constructor and Description |
|---|
ServiceReferenceEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText()
This implementation returns
null to indicate that
there is no appropriate text representation. |
void |
setAsText(String text)
Converts the given text value to a ServiceReference.
|
void |
setValue(Object value)
Converts the given value to a ServiceReference.
|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic void setValue(Object value)
setValue in interface PropertyEditorsetValue in class PropertyEditorSupportpublic String getAsText()
null to indicate that
there is no appropriate text representation.getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportCopyright © 2006–2013. All rights reserved.