List of usage examples for org.springframework.ide.eclipse.osgi.blueprint.internal.support InstanceEqualityRuntimeBeanReference InstanceEqualityRuntimeBeanReference
public InstanceEqualityRuntimeBeanReference(String beanName)
From source file:org.springframework.ide.eclipse.osgi.blueprint.internal.BlueprintParser.java
private Object parseRefElement(Element ele) { // A generic reference to any name of any component. String refName = ele.getAttribute(COMPONENT_ID_ATTR); if (!StringUtils.hasLength(refName)) { error("'" + COMPONENT_ID_ATTR + "' is required for <ref> element", ele); return null; }//w w w . jav a 2s .c o m if (!StringUtils.hasText(refName)) { error("<ref> element contains empty target attribute", ele); return null; } RuntimeBeanReference ref = new InstanceEqualityRuntimeBeanReference(refName); ref.setSource(parserContext.extractSource(ele)); return ref; }