Package io.github.factoryfx.factory
Class ParameterlessFactory<L,R extends FactoryBase<?,R>>
- java.lang.Object
-
- io.github.factoryfx.factory.FactoryBase<L,R>
-
- io.github.factoryfx.factory.SimpleFactoryBase<L,R>
-
- io.github.factoryfx.factory.ParameterlessFactory<L,R>
-
public class ParameterlessFactory<L,R extends FactoryBase<?,R>> extends SimpleFactoryBase<L,R>
Utility factory for a liveobject that has no parameter. e.g. setting a ExceptionMapper class in jersey
-
-
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 ParameterlessFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <L,R extends FactoryBase<?,R>>
ParameterlessFactory<L,R>create(java.lang.Class<? extends L> clazz)protected LcreateImpl()ParameterlessFactory<L,R>withLiveClass(java.lang.Class<? extends L> clazz)-
Methods inherited from class io.github.factoryfx.factory.FactoryBase
config, configLifeCycle, getId, idEquals, internal, utility
-
-
-
-
Field Detail
-
clazz
public java.lang.Class<? extends L> clazz
-
-
Method Detail
-
createImpl
protected L createImpl()
- Specified by:
createImplin classSimpleFactoryBase<L,R extends FactoryBase<?,R>>
-
withLiveClass
public ParameterlessFactory<L,R> withLiveClass(java.lang.Class<? extends L> clazz)
-
create
public static <L,R extends FactoryBase<?,R>> ParameterlessFactory<L,R> create(java.lang.Class<? extends L> clazz)
-
-