@MetaInfServices(value=FactoryCollectionPlugin.class) public class LocaleFactory extends Object implements Factory<Locale>, FactoryCollectionPlugin
| Constructor and Description |
|---|
LocaleFactory() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
create()
Create a new object of the specified type.
|
void |
initialize(FactoryCollection factoryCollection,
RandomValueGenerator randomValueGenerator)
Initialize the plugin, adding Factories to the FactoryCollection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstances, getServiceDefinitionpublic Locale create()
Factorypublic void initialize(FactoryCollection factoryCollection, RandomValueGenerator randomValueGenerator)
FactoryCollectionPlugininitialize in interface FactoryCollectionPluginfactoryCollection - A FactoryCollection that Factory objects can be added to.randomValueGenerator - RandomValueGenerator that can be used by Factory objects.Copyright © 2010–2020 meanbean. All rights reserved.