public class ServiceReferenceEditor
extends java.beans.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 |
|---|---|
java.lang.String |
getAsText()
This implementation returns
null to indicate that
there is no appropriate text representation. |
void |
setAsText(java.lang.String text)
Converts the given text value to a ServiceReference.
|
void |
setValue(java.lang.Object value)
Converts the given value to a ServiceReference.
|
public void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportjava.lang.IllegalArgumentExceptionpublic void setValue(java.lang.Object value)
setValue in interface java.beans.PropertyEditorsetValue in class java.beans.PropertyEditorSupportpublic java.lang.String getAsText()
null to indicate that
there is no appropriate text representation.getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupport