Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.apache.maven.continuum.management.util;
  
  /*
   * Licensed to the Apache Software Foundation (ASF) under one
   * or more contributor license agreements.  See the NOTICE file
   * distributed with this work for additional information
   * regarding copyright ownership.  The ASF licenses this file
   * to you under the Apache License, Version 2.0 (the
   * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
  *
  *   http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
  */
 
 
 import  org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader;
 import  org.springframework.beans.BeansException;
 import  org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
 import  org.springframework.beans.factory.support.DefaultListableBeanFactory;
 import  org.springframework.beans.factory.xml.ResourceEntityResolver;
 import  org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
 import  org.springframework.context.ApplicationContext;
 import  org.springframework.context.support.FileSystemXmlApplicationContext;
 
     extends FileSystemXmlApplicationContext
 {
 
     public PlexusFileSystemXmlApplicationContextString configLocation )
     {
         superconfigLocation );
     }
 
     public PlexusFileSystemXmlApplicationContextString[] configLocations )
     {
         superconfigLocations );
     }
 
     public PlexusFileSystemXmlApplicationContextString[] configLocations, ApplicationContext parent )
     {
         superconfigLocationsparent );
     }
 
     public PlexusFileSystemXmlApplicationContextString[] configLocationsboolean refresh )
     {
         superconfigLocationsrefresh );
     }
 
     public PlexusFileSystemXmlApplicationContextString[] configLocationsboolean refresh, ApplicationContext parent )
     {
         superconfigLocationsrefreshparent );
     }

    

See also:
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(org.springframework.beans.factory.xml.XmlBeanDefinitionReader)
 
     protected void loadBeanDefinitions( XmlBeanDefinitionReader reader )
         throws BeansException, IOException
     {
         .loadBeanDefinitionsreader );
         super.loadBeanDefinitions( reader );
     }

    
Copied from AbstractXmlApplicationContext Loads the bean definitions via an XmlBeanDefinitionReader.

See also:
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
initBeanDefinitionReader
loadBeanDefinitions
 
     protected void loadBeanDefinitions( DefaultListableBeanFactory beanFactory ) throws IOException {
         // Create a new XmlBeanDefinitionReader for the given BeanFactory.
         XmlBeanDefinitionReader beanDefinitionReader = new PlexusXmlBeanDefinitionReader( beanFactory );
 
         // Configure the bean definition reader with this context's
         // resource loading environment.
         beanDefinitionReader.setResourceLoader( this );
         beanDefinitionReader.setEntityResolver( new ResourceEntityResolver( this ) );
 
         // Allow a subclass to provide custom initialization of the reader,
         // then proceed with actually loading the bean definitions.
         initBeanDefinitionReader( beanDefinitionReader );
         loadBeanDefinitionsbeanDefinitionReader );
     }

    

See also:
org.springframework.context.support.AbstractApplicationContext.postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory)
    protected void postProcessBeanFactory( ConfigurableListableBeanFactory beanFactory )
    {
        .postProcessBeanFactorybeanFactorythis );
    }

    

See also:
org.springframework.context.support.AbstractApplicationContext.doClose()
    protected void doClose()
    {
        .doClose();
        super.doClose();
    }
New to GrepCode? Check out our FAQ X