org.springframework.jee.server
Class DefaultContainerBootstrap
java.lang.Object
org.springframework.jee.server.DefaultContainerBootstrap
- All Implemented Interfaces:
- ContainerBootstrap
public class DefaultContainerBootstrap
- extends Object
- implements ContainerBootstrap
Default implementation of the ContainerBootstrap interface.
- Author:
- Rod Johnson
Field Summary |
protected Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final Log log
DefaultContainerBootstrap
public DefaultContainerBootstrap()
bootstrap
public GenericApplicationContext bootstrap(ApplicationContext parent,
String[] requiredLocations,
String[] optionalLocations,
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-2008 SpringSource (formerly Interface21). All Rights Reserved.