org.jbpm.process.core.datatype.impl

## Class InstanceDataTypeFactory

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

- All Implemented Interfaces:
    Serializable, DataTypeFactory

      public class InstanceDataTypeFactory
      extends Object
      implements DataTypeFactory

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InstanceDataTypeFactory(Class<?> 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

    - #### InstanceDataTypeFactory

          public InstanceDataTypeFactory(Class<?> dataTypeClass)

  - ### Method Detail

    - #### createDataType

          public DataType createDataType()

      Specified by:
        `createDataType` in interface `DataTypeFactory`

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