Package org.aksw.faraday_cage.engine
Class DecoratedExecutionNodeFactory<U extends ExecutionNode<T>,V extends ExecutionNodeWrapper<U,T>,T>
- java.lang.Object
-
- org.aksw.faraday_cage.engine.PluginFactory<U>
-
- org.aksw.faraday_cage.engine.DecoratedExecutionNodeFactory<U,V,T>
-
public class DecoratedExecutionNodeFactory<U extends ExecutionNode<T>,V extends ExecutionNodeWrapper<U,T>,T> extends PluginFactory<U>
-
-
Method Summary
Modifier and Type Method Description Ucreate(Resource id)Create an instance of theFaradayCagePluginidentified byid.UgetImplementationOf(Resource type)Create an instance ofFaradayCagePluginfor a giventype.PluginFactory<V>getWrapperFactory()-
Methods inherited from class org.aksw.faraday_cage.engine.PluginFactory
listAvailable
-
-
-
-
Method Detail
-
getImplementationOf
public U getImplementationOf(Resource type)
Description copied from class:PluginFactoryCreate an instance ofFaradayCagePluginfor a giventype.- Overrides:
getImplementationOfin classPluginFactory<U extends ExecutionNode<T>>- Parameters:
type- type of the instance to create- Returns:
- instance of the
FaradayCagePluginfor the giventype.
-
create
public U create(Resource id)
Description copied from class:PluginFactoryCreate an instance of theFaradayCagePluginidentified byid.- Overrides:
createin classPluginFactory<U extends ExecutionNode<T>>- Parameters:
id- identifier of the instance to create- Returns:
- instance of the
FaradayCagePluginidentified byid.
-
getWrapperFactory
public PluginFactory<V> getWrapperFactory()
-
-