Skip to content

Conversation

@chrisdennis
Copy link
Member

This is a proposal for an InstantiatorService which would allow users to customize how Ehcache creates instances of user types that support the cache. That means things like event listeners, cache loader/writers, resilience strategies etc. At this point I'm mainly interested in knowing if the interface presented here is suitable for wiring in to the Spring dependency injection system.


import org.ehcache.spi.service.Service;

public interface InstantiatorService extends Service {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the interface of interest.

@chrisdennis chrisdennis force-pushed the instantiator-service branch from 8bc033c to 9d9fc1a Compare July 28, 2023 15:32
@mathieucarbou
Copy link
Member

Tested with the JCache changes in #3190 in the sample at ibm-wm-transition/terracotta-samples#32.

Happy with it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants