com.mtgi.analytics.aop.config.v11
Class BtXmlPersisterBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by com.mtgi.analytics.aop.config.TemplateBeanDefinitionParser
              extended by com.mtgi.analytics.aop.config.v11.BtXmlPersisterBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class BtXmlPersisterBeanDefinitionParser
extends TemplateBeanDefinitionParser

Parses the bt:xml-persister tag to produce an XmlBehaviorEventPersisterImpl bean, for inclusion in an enclosing bt:manager tag or as a standalone managed bean.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.mtgi.analytics.aop.config.TemplateBeanDefinitionParser
TemplateBeanDefinitionParser.TemplateComponentDefinition
 
Field Summary
static String CONFIG_PERSISTER
           
static String CONFIG_ROTATE_TRIGGER
           
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
BtXmlPersisterBeanDefinitionParser()
           
 
Method Summary
static void configureLogRotation(org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory, String schedule)
           
protected  void transform(org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory, org.springframework.beans.factory.config.BeanDefinition template, Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
          Hook by which subclasses can modify template configuration values.
 
Methods inherited from class com.mtgi.analytics.aop.config.TemplateBeanDefinitionParser
doParse, getBeanClass, newComponentDefinition, overrideAttribute, overrideProperty, resolveId, shouldGenerateIdAsFallback
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_PERSISTER

public static final String CONFIG_PERSISTER
See Also:
Constant Field Values

CONFIG_ROTATE_TRIGGER

public static final String CONFIG_ROTATE_TRIGGER
See Also:
Constant Field Values
Constructor Detail

BtXmlPersisterBeanDefinitionParser

public BtXmlPersisterBeanDefinitionParser()
Method Detail

transform

protected void transform(org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory,
                         org.springframework.beans.factory.config.BeanDefinition template,
                         Element element,
                         org.springframework.beans.factory.xml.ParserContext parserContext)
Description copied from class: TemplateBeanDefinitionParser
Hook by which subclasses can modify template configuration values. Default behavior does nothing to the template.

Overrides:
transform in class TemplateBeanDefinitionParser
Parameters:
factory - the bean factory from which template was loaded
template - the template bean definition
element - XML configuration fragment containing overrides that should be applied to the template
parserContext - XML parse context supplying the configuration values

configureLogRotation

public static void configureLogRotation(org.springframework.beans.factory.xml.ParserContext parserContext,
                                        org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory,
                                        String schedule)