Allow provided services to implement Startable or Stoppable

Description

The current contract of org.hibernate.search.engine.service.spi.ServiceManager explicitly prohibits using provided services which happen to also implement the marker interfaces org.hibernate.search.engine.service.spi.Startable and/or org.hibernate.search.engine.service.spi.Stoppable.

This is not very friendly for code reuse, and there is no reason to enforce this.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Minor
Configure