alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Spring Framework example source code file (testBeans.properties)

This example Spring Framework source code file (testBeans.properties) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Spring Framework tags/keywords

applicationcontexts, applicationcontexts, postprocessor, postprocessor

The Spring Framework testBeans.properties source code

# this must only be used for ApplicationContexts, some classes are only appropriate for application contexts

rod.(class)=org.springframework.beans.TestBean
rod.name=Rod
rod.age=31

roderick.(parent)=rod
roderick.name=Roderick

kerry.(class)=org.springframework.beans.TestBean
kerry.name=Kerry
kerry.age=34
kerry.spouse(ref)=rod

kathy.(class)=org.springframework.beans.TestBean
kathy.(singleton)=false

typeMismatch.(class)=org.springframework.beans.TestBean
typeMismatch.name=typeMismatch
typeMismatch.age=34x
typeMismatch.spouse(ref)=rod
typeMismatch.(singleton)=false

validEmpty.(class)=org.springframework.beans.TestBean

listenerVeto.(class)=org.springframework.beans.TestBean

typeMismatch.name=typeMismatch
typeMismatch.age=34x
typeMismatch.spouse(ref)=rod

singletonFactory.(class)=org.springframework.beans.factory.DummyFactory
singletonFactory.singleton=true

prototypeFactory.(class)=org.springframework.beans.factory.DummyFactory
prototypeFactory.singleton=false

mustBeInitialized.(class)=org.springframework.beans.factory.MustBeInitialized

lifecycle.(class)=org.springframework.context.LifecycleContextBean

lifecyclePostProcessor.(class)=org.springframework.beans.factory.LifecycleBean$PostProcessor

Other Spring Framework examples (source code examples)

Here is a short list of links related to this Spring Framework testBeans.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.