# creator property

ObjectFactoryFunction<T> creator
final

The creator function that produces new instances of type `T`.

This function is invoked each time `getObject` is called to create a new instance. The function should return a fully initialized and ready-to-use object.

The creator function can:

- Create simple object instances
- Perform complex initialization logic
- Apply configuration and dependencies
- Return cached or pooled objects (though caching should be implemented in the function itself)
- Throw exceptions if object creation fails

## Implementation

    final ObjectFactoryFunction<T> creator;