|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beans.factory.support.AbstractBeanFactory
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
org.springframework.beans.factory.support.DefaultListableBeanFactory
org.springframework.beans.factory.xml.XmlBeanFactory
org.apache.jdo.tck.pc.company.CompanyModelReader
Utility class to create a graph of company model instances from an xml representation.
Field Summary | |
static java.lang.String |
DATE_PATTERN
The format of date values in the xml representation |
Fields inherited from class org.springframework.beans.factory.support.AbstractBeanFactory |
logger |
Fields inherited from interface org.springframework.beans.factory.BeanFactory |
FACTORY_BEAN_PREFIX |
Fields inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory |
AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR |
Constructor Summary | |
CompanyModelReader(java.io.InputStream stream)
Create a CompanyModelReader for the specified InputStream. |
|
CompanyModelReader(java.lang.String resourceName)
Create a CompanyModelReader for the specified resourceName. |
|
CompanyModelReader(java.lang.String resourceName,
java.lang.ClassLoader classLoader)
Create a CompanyModelReader for the specified resourceName. |
Method Summary | |
Address |
getAddress(java.lang.String name)
Convenience method returning an Address instance for the specified name. |
Company |
getCompany(java.lang.String name)
Convenience method returning a Company instance for the specified name. |
DentalInsurance |
getDentalInsurance(java.lang.String name)
Convenience method returning a DentalInsurance instance for the specified name. |
Department |
getDepartment(java.lang.String name)
Convenience method returning a Department instance for the specified name. |
Employee |
getEmployee(java.lang.String name)
Convenience method returning an Employee instance for the specified name. |
FullTimeEmployee |
getFullTimeEmployee(java.lang.String name)
Convenience method returning a FullTimeEmployee instance for the specified name. |
Insurance |
getInsurance(java.lang.String name)
Convenience method returning an Insurance instance for the specified name. |
MedicalInsurance |
getMedicalInsurance(java.lang.String name)
Convenience method returning a MedicalInsurance instance for the specified name. |
PartTimeEmployee |
getPartTimeEmployee(java.lang.String name)
Convenience method returning a PartTimeEmployee instance for the specified name. |
Person |
getPerson(java.lang.String name)
Convenience method returning a Person instance for the specified name. |
Project |
getProject(java.lang.String name)
Convenience method returning a Project instance for the specified name. |
Methods inherited from class org.springframework.beans.factory.support.DefaultListableBeanFactory |
containsBeanDefinition, findMatchingBeans, getBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeansOfType, getBeansOfType, preInstantiateSingletons, registerBeanDefinition, setAllowBeanDefinitionOverriding, toString |
Methods inherited from class org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory |
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPropertyValues, autowire, autowireBeanProperties, autowireByName, autowireByType, autowireConstructor, createBean, createBean, dependencyCheck, getIgnoredDependencyTypes, ignoreDependencyType, instantiateUsingFactoryMethod, invokeCustomInitMethod, invokeInitMethods, populateBean, resolveValueIfNecessary, setInstantiationStrategy, unsatisfiedObjectProperties |
Methods inherited from class org.springframework.beans.factory.support.AbstractBeanFactory |
addBeanPostProcessor, addSingleton, checkMergedBeanDefinition, containsBean, containsSingleton, createBeanWrapper, destroyBean, destroySingletons, getAliases, getBean, getBean, getBean, getBean, getBeanPostProcessors, getCustomEditors, getMergedBeanDefinition, getMergedBeanDefinition, getObjectForSharedInstance, getParentBeanFactory, getSingletonCount, getSingletonNames, getType, hasDestructionAwareBeanPostProcessors, initBeanWrapper, invokeCustomDestroyMethod, isFactoryBean, isFactoryDereference, isSingleton, registerAlias, registerCustomEditor, registerDependentBean, registerDisposableBean, registerDisposableBeanIfNecessary, registerSingleton, removeSingleton, setParentBeanFactory, transformedBeanName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.beans.factory.config.ConfigurableListableBeanFactory |
ignoreDependencyType |
Methods inherited from interface org.springframework.beans.factory.BeanFactory |
containsBean, getAliases, getBean, getBean, getType, isSingleton |
Methods inherited from interface org.springframework.beans.factory.config.AutowireCapableBeanFactory |
applyBeanPostProcessorsAfterInitialization, applyBeanPostProcessorsBeforeInitialization, applyBeanPropertyValues, autowire, autowireBeanProperties |
Methods inherited from interface org.springframework.beans.factory.config.ConfigurableBeanFactory |
addBeanPostProcessor, containsSingleton, destroySingletons, registerAlias, registerCustomEditor, registerSingleton, setParentBeanFactory |
Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory |
getParentBeanFactory |
Methods inherited from interface org.springframework.beans.factory.support.BeanDefinitionRegistry |
getAliases, registerAlias |
Field Detail |
public static final java.lang.String DATE_PATTERN
Constructor Detail |
public CompanyModelReader(java.lang.String resourceName)
resourceName
- the name of the resourcepublic CompanyModelReader(java.lang.String resourceName, java.lang.ClassLoader classLoader)
resourceName
- the name of the resourcepublic CompanyModelReader(java.io.InputStream stream)
stream
- the input streamMethod Detail |
public Address getAddress(java.lang.String name)
null
if there is no Address
bean with the specified name.
name
- the name of the bean to return.
null
if there no
Address bean.public Company getCompany(java.lang.String name)
null
if there is no Company
bean with the specified name.
name
- the name of the bean to return.
null
if there no
Company bean.public DentalInsurance getDentalInsurance(java.lang.String name)
null
if there is no
DentalInsurance bean with the specified name.
name
- the name of the bean to return.
null
if there no
DentalInsurance bean.public Department getDepartment(java.lang.String name)
null
if there is no Department
bean with the specified name.
name
- the name of the bean to return.
null
if there no
Department bean.public Employee getEmployee(java.lang.String name)
null
if there is no Employee
bean with the specified name.
name
- the name of the bean to return.
null
if there no
Employee bean.public FullTimeEmployee getFullTimeEmployee(java.lang.String name)
null
if there is no
FullTimeEmployee bean with the specified name.
name
- the name of the bean to return.
null
if there no
FullTimeEmployee bean.public Insurance getInsurance(java.lang.String name)
null
if there is no Insurance
bean with the specified name.
name
- the name of the bean to return.
null
if there no
Insurance bean.public MedicalInsurance getMedicalInsurance(java.lang.String name)
null
if there is no
MedicalInsurance bean with the specified name.
name
- the name of the bean to return.
null
if there no
MedicalInsurance bean.public PartTimeEmployee getPartTimeEmployee(java.lang.String name)
null
if there is no
PartTimeEmployee bean with the specified name.
name
- the name of the bean to return.
null
if there no
PartTimeEmployee bean.public Person getPerson(java.lang.String name)
null
if there is no Person
bean with the specified name.
name
- the name of the bean to return.
null
if there no
Person bean.public Project getProject(java.lang.String name)
null
if there is no Project
bean with the specified name.
name
- the name of the bean to return.
null
if there no
Project bean.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |