org.jbpm.process.core.datatype.impl

## Class NewInstanceDataTypeFactory

- java.lang.Object
- - org.jbpm.process.core.datatype.impl.NewInstanceDataTypeFactory

- All Implemented Interfaces:
    Serializable, DataTypeFactory

      public class NewInstanceDataTypeFactory
      extends Object
      implements DataTypeFactory

  A data type factory that always returns a new instance of a given class.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NewInstanceDataTypeFactory(Class<? extends DataType> dataTypeClass)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataType` | `createDataType()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NewInstanceDataTypeFactory

          public NewInstanceDataTypeFactory(Class<? extends DataType> dataTypeClass)

  - ### Method Detail

    - #### createDataType

          public DataType createDataType()

      Specified by:
        `createDataType` in interface `DataTypeFactory`

Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.