public class EquivalentPopulatedBeanFactory extends Object implements EquivalentFactory<Object>
| Constructor and Description |
|---|
EquivalentPopulatedBeanFactory(BeanInformation beanInformation,
FactoryLookupStrategy factoryLookupStrategy,
Configuration configuration)
Construct a new Factory that creates object instances based on provided BeanInformation, assigning every instance
the same field values.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
create()
Create a new instance of the Bean described in the provided BeanInformation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstance, getServiceDefinitionpublic EquivalentPopulatedBeanFactory(BeanInformation beanInformation, FactoryLookupStrategy factoryLookupStrategy, Configuration configuration) throws IllegalArgumentException
beanInformation - Information used to create instances of a bean.factoryLookupStrategy - Provides a means of acquiring Factories that can be used to create values for the fields of new object
instances.configuration - Provides override configurationIllegalArgumentException - If either the specified BeanInformation or the FactoryLookupStrategy is deemed illegal. For example,
if either is null.public Object create() throws BeanCreationException
create in interface EquivalentFactory<Object>BeanCreationException - If an error occurs when creating an instance of the Bean.Copyright © 2010–2020 meanbean. All rights reserved.