org.opennms.core.soa.config
Class ServiceBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by 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

Field Summary
static String INTERFACE_ATTR
          Constant INTERFACE_ATTR="interface"
static String INTERFACES_ELEM
          Constant INTERFACES_ELEM="interfaces"
static String PROPS_ELEM
           
static String REF_ATTR
          Constant REF_ATTR="ref"
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
 
Constructor Summary
ServiceBeanDefinitionParser()
           
 
Method Summary
 void doParse(Element element, org.springframework.beans.factory.xml.ParserContext context, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
          
protected  Class<?> getBeanClass(Element element)
          
protected  boolean shouldGenerateIdAsFallback()
          
 
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
 

Field Detail

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
Constructor Detail

ServiceBeanDefinitionParser

public ServiceBeanDefinitionParser()
Method Detail

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.