org.opennms.core.soa.config
Class ServiceBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.opennms.core.soa.config.ServiceBeanDefinitionParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
public class ServiceBeanDefinitionParser
- extends org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
ServiceRegistrationBeanDefinitionParser
Simplest
ID also allowed and becomes the ID of the Registration object
More than interface supported with nested interfaces element
com.example.Interface1
com.example.Interface2
- Version:
- $Id: $
- Author:
- brozow
| Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
| Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
doParse, getBeanClassName, getParentName, parseInternal |
| Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REF_ATTR
public static final String REF_ATTR
- Constant
REF_ATTR="ref"
- See Also:
- Constant Field Values
INTERFACE_ATTR
public static final String INTERFACE_ATTR
- Constant
INTERFACE_ATTR="interface"
- See Also:
- Constant Field Values
INTERFACES_ELEM
public static final String INTERFACES_ELEM
- Constant
INTERFACES_ELEM="interfaces"
- See Also:
- Constant Field Values
PROPS_ELEM
public static final String PROPS_ELEM
- See Also:
- Constant Field Values
ServiceBeanDefinitionParser
public ServiceBeanDefinitionParser()
getBeanClass
protected Class<?> getBeanClass(Element element)
-
- Overrides:
getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse
public void doParse(Element element,
org.springframework.beans.factory.xml.ParserContext context,
org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
-
- Overrides:
doParse in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
shouldGenerateIdAsFallback
protected boolean shouldGenerateIdAsFallback()
-
- Overrides:
shouldGenerateIdAsFallback in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
Copyright © 2011. All Rights Reserved.