org.springframework.jee.server
Class DefaultContainerBootstrap

java.lang.Object
  extended by 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
           
 
Constructor Summary
DefaultContainerBootstrap()
           
 
Method Summary
 GenericApplicationContext bootstrap(ApplicationContext parent, String[] requiredLocations, String[] optionalLocations, 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
 

Field Detail

log

protected final Log log
Constructor Detail

DefaultContainerBootstrap

public DefaultContainerBootstrap()
Method Detail

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 null
requiredLocations - Spring locations that must be loadable (using the given ResourceLoader) for the deployment to succeed
optionalLocations - 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.