Package io.github.factoryfx.factory
Class PolymorphicFactoryBase<L,R extends FactoryBase<?,R>>
- java.lang.Object
-
- io.github.factoryfx.factory.FactoryBase<L,R>
-
- io.github.factoryfx.factory.PolymorphicFactoryBase<L,R>
-
- All Implemented Interfaces:
PolymorphicFactory<L>
- Direct Known Subclasses:
NoUserManagementFactory,PersistentUserManagementFactory
public abstract class PolymorphicFactoryBase<L,R extends FactoryBase<?,R>> extends FactoryBase<L,R> implements PolymorphicFactory<L>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.factoryfx.factory.FactoryBase
FactoryBase.AttributeMatchVisitor<V>, FactoryBase.BiCopyAttributeVisitor<V>, FactoryBase.DataConfiguration, FactoryBase.Internal<L,R extends FactoryBase<?,R>>, FactoryBase.LifeCycleConfig<L,R extends FactoryBase<?,R>>, FactoryBase.TriAttributeVisitor<V>, FactoryBase.UtilityFactory<L,R extends FactoryBase<?,R>>
-
-
Constructor Summary
Constructors Constructor Description PolymorphicFactoryBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract LcreateImpl()java.lang.Class<L>getLiveObjectClass()class of the liveobject, probably the common interface
workaround for java type erasure-
Methods inherited from class io.github.factoryfx.factory.FactoryBase
config, configLifeCycle, getId, idEquals, internal, utility
-
-
-
-
Method Detail
-
createImpl
protected abstract L createImpl()
-
getLiveObjectClass
public java.lang.Class<L> getLiveObjectClass()
Description copied from interface:PolymorphicFactoryclass of the liveobject, probably the common interface
workaround for java type erasure- Specified by:
getLiveObjectClassin interfacePolymorphicFactory<L>- Returns:
- class liveobject
-
-