Package org.camunda.bpm.engine.impl
Class DefaultArtifactFactory
- java.lang.Object
-
- org.camunda.bpm.engine.impl.DefaultArtifactFactory
-
- All Implemented Interfaces:
ArtifactFactory
public class DefaultArtifactFactory extends java.lang.Object implements ArtifactFactory
Default ArtifactService implementation. This version uses Class.newInstance() to create new Artifacts. This is the default behaviour like has been in old camunda/activity versions.- Since:
- 7.2.0
- Author:
- Mark Struberg
-
-
Constructor Summary
Constructors Constructor Description DefaultArtifactFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getArtifact(java.lang.Class<T> clazz)
-
-
-
Method Detail
-
getArtifact
public <T> T getArtifact(java.lang.Class<T> clazz)
- Specified by:
getArtifact
in interfaceArtifactFactory
- Parameters:
clazz
- of the artifact to create- Returns:
- the instance of the fullyQualifiedClassName
-
-