public interface FactoryDefinitionParser
FactoryDefinitionParser can parse the factory definition and create a Factory object which
can create the object according to the definition.
A FactoryDefinitionParser must have a public argumentless constructor. The FactoryDefinitionParser
must be thread safe. The parse method can be called concurrently. If the FactoryDefinitionParser is created
with the FactoryDefinitionParser.FactoryDefinitionParserFactory then it will be created only once.| Modifier and Type | Interface and Description |
|---|---|
static class |
FactoryDefinitionParser.FactoryDefinitionParserFactory |
Factory<?> parse(String factoryDefinition)
factoryDefinition - The factory definitionInvalidFactoryDefinitionException - If the factoryDefinition is invalidFactoryException - If something went wrong while creating the factoryCopyright © 2013. All rights reserved.