Class ConfigurableFactoryHelper.DCFactory
java.lang.Object
games.stendhal.server.core.config.factory.ConfigurableFactoryHelper.DCFactory
- All Implemented Interfaces:
ConfigurableFactory
- Enclosing class:
- ConfigurableFactoryHelper
protected static class ConfigurableFactoryHelper.DCFactory
extends Object
implements ConfigurableFactory
A wrapper factory that uses the default constructor of a class.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate an object.
-
Field Details
-
clazz
-
-
Constructor Details
-
DCFactory
-
-
Method Details
-
create
Description copied from interface:ConfigurableFactory
Create an object.- Specified by:
create
in interfaceConfigurableFactory
- Parameters:
ctx
- Configuration context.- Returns:
- A new object, or
null
if allowed by the factory type.
-