Example usage for org.springframework.beans.factory.xml BeanDefinitionParserDelegate DEFAULT_LAZY_INIT_ATTRIBUTE

List of usage examples for org.springframework.beans.factory.xml BeanDefinitionParserDelegate DEFAULT_LAZY_INIT_ATTRIBUTE

Introduction

In this page you can find the example usage for org.springframework.beans.factory.xml BeanDefinitionParserDelegate DEFAULT_LAZY_INIT_ATTRIBUTE.

Prototype

String DEFAULT_LAZY_INIT_ATTRIBUTE

To view the source code for org.springframework.beans.factory.xml BeanDefinitionParserDelegate DEFAULT_LAZY_INIT_ATTRIBUTE.

Click Source Link

Usage

From source file:org.jasig.portlet.calendar.spring.LazyInitByDefaultBeanDefinitionDocumentReader.java

@Override
protected BeanDefinitionParserDelegate createHelper(XmlReaderContext readerContext, Element root,
        BeanDefinitionParserDelegate parentDelegate) {
    root.setAttribute(BeanDefinitionParserDelegate.DEFAULT_LAZY_INIT_ATTRIBUTE, "true");
    return super.createHelper(readerContext, root, parentDelegate);
}

From source file:org.jasig.portlet.announcements.spring.LazyInitByDefaultBeanDefinitionDocumentReader.java

@Override
protected BeanDefinitionParserDelegate createDelegate(XmlReaderContext readerContext, Element root,
        BeanDefinitionParserDelegate parentDelegate) {
    root.setAttribute(BeanDefinitionParserDelegate.DEFAULT_LAZY_INIT_ATTRIBUTE, "true");
    return super.createDelegate(readerContext, root, parentDelegate);
}