org.springframework.beans.factory.deployment
Class DefaultContainerBootstrap
java.lang.Object
org.springframework.beans.factory.deployment.DefaultContainerBootstrap
- All Implemented Interfaces:
- ContainerBootstrap
public class DefaultContainerBootstrap
- extends java.lang.Object
- implements ContainerBootstrap
Default implementation of the ContainerBootstrap interface.
- Author:
- Rod Johnson
Field Summary |
protected org.apache.commons.logging.Log |
log
|
Method Summary |
org.springframework.context.support.GenericApplicationContext |
bootstrap(org.springframework.context.ApplicationContext parent,
java.lang.String[] requiredLocations,
java.lang.String[] optionalLocations,
org.springframework.core.io.ResourceLoader resourceLoader)
Start a Spring container preloading from the given locations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
DefaultContainerBootstrap
public DefaultContainerBootstrap()
bootstrap
public org.springframework.context.support.GenericApplicationContext bootstrap(org.springframework.context.ApplicationContext parent,
java.lang.String[] requiredLocations,
java.lang.String[] optionalLocations,
org.springframework.core.io.ResourceLoader resourceLoader)
- Description copied from interface:
ContainerBootstrap
- Start a Spring container preloading from the given locations
- Specified by:
bootstrap
in interface ContainerBootstrap
- Parameters:
parent
- parent context, may be nullrequiredLocations
- Spring locations that must be loadable (using the
given ResourceLoader) for the deployment to succeedoptionalLocations
- Spring locations that will be processed if present.
Not an error if one or more are unavailable.resourceLoader
- Spring ResourceLoader to use to load locations.
May be null
- Returns:
- a new Spring container with the given parent and having
loaded singleton definitions from the locations
Copyright 2006 Interface21. All Rights Reserved.