BeanFactoryLoader

class BeanFactoryLoader extends DefaultResourceLoader with ResourcePatternResolver with ContextLoader with Logging

Simple BeanFactory loader

trait Logging
trait ResourcePatternResolver
class DefaultResourceLoader
trait ResourceLoader
class Object
trait Matchable
class Any

Value members

Concrete methods

override def close(): Unit
Definition Classes
protected def finishBeanFactoryInitialization(beanFactory: ConfigurableListableBeanFactory): Unit

Finish the initialization of this context's bean factory, initializing all remaining singleton beans.

Finish the initialization of this context's bean factory, initializing all remaining singleton beans.

override def getResources(locationPattern: String): Array[Resource]
Definition Classes
ResourcePatternResolver
protected def initApplicationEventMulticaster(beanFactory: ConfigurableListableBeanFactory): Unit

Initialize the ApplicationEventMulticaster.

Initialize the ApplicationEventMulticaster.

protected def invokeBeanFactoryPostProcessors(beanFactory: DefaultListableBeanFactory): Unit

Instantiate and invoke all registered BeanFactoryPostProcessor beans, respecting explicit order if given.

Instantiate and invoke all registered BeanFactoryPostProcessor beans, respecting explicit order if given.

Must be called before singleton instantiation.

override def load(id: String, contextClassName: String, configLocation: String, parent: BeanFactory): BeanFactory
Definition Classes
protected def loadBeanDefinitions(beanFactory: DefaultListableBeanFactory, configLocation: String): Unit
protected def prepareBeanFactory(beanFactory: ConfigurableListableBeanFactory): Unit

Configure the factory's standard context characteristics, such as the context's ClassLoader and post-processors.

Configure the factory's standard context characteristics, such as the context's ClassLoader and post-processors.

Value Params
beanFactory

the BeanFactory to configure

protected def refresh(beanFactory: DefaultListableBeanFactory): Unit

Inherited methods

def addProtocolResolver(x$0: ProtocolResolver): Unit
Inherited from
DefaultResourceLoader
def clearResourceCaches(): Unit
Inherited from
DefaultResourceLoader
@Nullable
def getClassLoader(): ClassLoader
Inherited from
DefaultResourceLoader
def getProtocolResolvers(): Collection[ProtocolResolver]
Inherited from
DefaultResourceLoader
def getResource(x$0: String): Resource
Inherited from
DefaultResourceLoader
def getResourceCache[T <: <FromJavaObject>](x$0: Class[T]): Map[Resource, T]
Inherited from
DefaultResourceLoader
def setClassLoader(x$0: ClassLoader): Unit
Inherited from
DefaultResourceLoader

Concrete fields

var classLoader: ClassLoader
var environment: StandardEnvironment
var eventMulticaster: EventMulticaster
var resourcePatternResolver: ResourcePatternResolver
var result: BeanFactory

Inherited fields

protected val logger: Logger
Inherited from
Logging