Package com.github.devmix.process.acto
Interface ActiveObjectFactory<T,I,O>
- Type Parameters:
T- the type of ActiveObject to be createdI- the type of the identifier used for creating the ActiveObjectO- the type of the optional options used during creation, can be null
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory interface for creating ActiveObject instances.
This interface defines a method to create an instance of type T
using an identifier of type I and optional options of type O.
- Author:
- Sergey Grachev
-
Method Summary
-
Method Details
-
create
Creates an instance of an ActiveObject.- Parameters:
id- the identifier for the ActiveObject to be createdoptions- optional configuration options; may be null if not required- Returns:
- a new instance of the ActiveObject type
T
-