org.base.apps.util.factory
Class ConfigurableFactory
java.lang.Object
org.base.apps.util.factory.BaseFactory
org.base.apps.util.factory.ConfigurableFactory
- All Implemented Interfaces:
- Factory, Named
- Direct Known Subclasses:
- ElementFactory, SwingViewFactory
public abstract class ConfigurableFactory
- extends BaseFactory
- implements Named
Factory implementation configured via a ResourceManager.
- Author:
- Kevan Simpson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.base.apps.util.Named |
getName |
ConfigurableFactory
protected ConfigurableFactory()
ConfigurableFactory
protected ConfigurableFactory(Named named)
create
public <T> T create(Class<T> type,
Object... args)
- Description copied from interface:
Factory
- Creates a new instance of the specified class, optionally using the given arguments.
- Specified by:
create in interface Factory- Overrides:
create in class BaseFactory
- Type Parameters:
T - The generic representing type of the new instance.- Parameters:
type - The type of the new instance.args - Optionally used arguments used to create the new instance.
- Returns:
- A new instance of the given type or
null. - See Also:
BaseFactory.create(java.lang.Class, java.lang.Object[])
rMgr
protected ResourceManager rMgr()
Copyright 2011, Blue Agate Software Entity (BASE)