public static interface IPojoFactory.NameGenerator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generate(Factory factory,
java.util.List<java.lang.String> reserved) |
java.lang.String generate(Factory factory, java.util.List<java.lang.String> reserved) throws UnacceptableConfiguration
factory
- Factory called to create the instancereserved
- List of reserved (already used) instance names.
This has to be used tp ensure generated name is unique among all other instances.UnacceptableConfiguration
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.