etm.contrib.integration.spring.configuration
Class JetmBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by etm.contrib.integration.spring.configuration.JetmBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
Direct Known Subclasses:
ConsoleBeanDefinitionParser, MonitoringBeanDefinitionParser, RuntimeBeanDefinitionParser

public abstract class JetmBeanDefinitionParser
extends org.springframework.beans.factory.xml.AbstractBeanDefinitionParser

Base class for our Spring BeanDefinitionParsers. This class alters the behavior of AbstractBeanDefinitionParser such that it automatically assign a id if none is given.

Version:
$Revision: 230 $
Author:
void.fm

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
JetmBeanDefinitionParser()
           
 
Method Summary
protected  java.lang.String generateName(org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext)
           
protected  java.lang.String resolveId(org.w3c.dom.Element element, org.springframework.beans.factory.support.AbstractBeanDefinition definition, org.springframework.beans.factory.xml.ParserContext parserContext)
           
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, parseInternal, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetmBeanDefinitionParser

public JetmBeanDefinitionParser()
Method Detail

resolveId

protected java.lang.String resolveId(org.w3c.dom.Element element,
                                     org.springframework.beans.factory.support.AbstractBeanDefinition definition,
                                     org.springframework.beans.factory.xml.ParserContext parserContext)
                              throws org.springframework.beans.factory.BeanDefinitionStoreException
Overrides:
resolveId in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
Throws:
org.springframework.beans.factory.BeanDefinitionStoreException

generateName

protected java.lang.String generateName(org.springframework.beans.factory.support.AbstractBeanDefinition definition,
                                        org.springframework.beans.factory.xml.ParserContext parserContext)


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.