java.lang.Object
org.praxislive.base.AbstractComponentFactory
- All Implemented Interfaces:
org.praxislive.core.services.ComponentFactory
public class AbstractComponentFactory
extends Object
implements org.praxislive.core.services.ComponentFactory
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.praxislive.core.services.ComponentFactory
org.praxislive.core.services.ComponentFactory.Deprecated, org.praxislive.core.services.ComponentFactory.Redirect -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidadd(String type, AbstractComponentFactory.Data<? extends org.praxislive.core.Component> info) protected voidprotected voidaddRoot(String type, AbstractComponentFactory.Data<? extends org.praxislive.core.Root> info) final org.praxislive.core.LookupcomponentData(org.praxislive.core.ComponentType type) final Stream<org.praxislive.core.ComponentType> final org.praxislive.core.ComponentcreateComponent(org.praxislive.core.ComponentType type) final org.praxislive.core.RootcreateRoot(org.praxislive.core.ComponentType type) static <T> AbstractComponentFactory.Data<T> final org.praxislive.core.LookuprootData(org.praxislive.core.ComponentType type) final Stream<org.praxislive.core.ComponentType> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.praxislive.core.services.ComponentFactory
componentRedirect, rootRedirect
-
Constructor Details
-
AbstractComponentFactory
protected AbstractComponentFactory()
-
-
Method Details
-
componentTypes
- Specified by:
componentTypesin interfaceorg.praxislive.core.services.ComponentFactory
-
rootTypes
- Specified by:
rootTypesin interfaceorg.praxislive.core.services.ComponentFactory
-
createComponent
public final org.praxislive.core.Component createComponent(org.praxislive.core.ComponentType type) throws org.praxislive.core.services.ComponentInstantiationException - Specified by:
createComponentin interfaceorg.praxislive.core.services.ComponentFactory- Throws:
org.praxislive.core.services.ComponentInstantiationException
-
createRoot
public final org.praxislive.core.Root createRoot(org.praxislive.core.ComponentType type) throws org.praxislive.core.services.ComponentInstantiationException - Specified by:
createRootin interfaceorg.praxislive.core.services.ComponentFactory- Throws:
org.praxislive.core.services.ComponentInstantiationException
-
componentData
public final org.praxislive.core.Lookup componentData(org.praxislive.core.ComponentType type) - Specified by:
componentDatain interfaceorg.praxislive.core.services.ComponentFactory
-
rootData
public final org.praxislive.core.Lookup rootData(org.praxislive.core.ComponentType type) - Specified by:
rootDatain interfaceorg.praxislive.core.services.ComponentFactory
-
add
-
add
protected void add(String type, AbstractComponentFactory.Data<? extends org.praxislive.core.Component> info) -
addRoot
-
addRoot
protected void addRoot(String type, AbstractComponentFactory.Data<? extends org.praxislive.core.Root> info) -
data
-