org.camunda.bpm.engine.impl
Class DefaultArtifactFactory

java.lang.Object
  extended by org.camunda.bpm.engine.impl.DefaultArtifactFactory
All Implemented Interfaces:
ArtifactFactory

public class DefaultArtifactFactory
extends 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
DefaultArtifactFactory()
           
 
Method Summary
<T> T
getArtifact(Class<T> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArtifactFactory

public DefaultArtifactFactory()
Method Detail

getArtifact

public <T> T getArtifact(Class<T> clazz)
Specified by:
getArtifact in interface ArtifactFactory
Parameters:
clazz - of the artifact to create
Returns:
the instance of the fullyQualifiedClassName


Copyright © 2016 camunda services GmbH. All rights reserved.