Package org.hibernate.service.spi
Interface OptionallyManageable
-
- All Superinterfaces:
Manageable
public interface OptionallyManageable extends Manageable
Extension to Manageable for things that are optionally Manageable depending on some internal state. E.g. services that wrap other services wanting to delegate manageability if the wrapped service is Manageable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.Object
getManagementBean()
The management bean (MBean) for this service.java.util.List<Manageable>
getRealManageables()
Any wrapped services that are Manageable.-
Methods inherited from interface org.hibernate.service.spi.Manageable
getManagementDomain, getManagementServiceType
-
-
-
-
Method Detail
-
getRealManageables
java.util.List<Manageable> getRealManageables()
Any wrapped services that are Manageable. Never return `null`; an empty List should be returned instead.
-
getManagementBean
default java.lang.Object getManagementBean()
Description copied from interface:Manageable
The management bean (MBean) for this service.- Specified by:
getManagementBean
in interfaceManageable
- Returns:
- The management bean.
-
-