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 manageablity if the wrapped service is Manageable.
Modifier and Type | Method and Description |
---|---|
default Object |
getManagementBean()
The the management bean (MBean) for this service.
|
default String |
getManagementDomain()
Get the domain name to be used in registering the management bean.
|
default String |
getManagementServiceType()
Allows the service to specify a special 'serviceType' portion of the object name.
|
List<Manageable> |
getRealManageables()
Any wrapped services that are Manageable.
|
List<Manageable> getRealManageables()
Any wrapped services that are Manageable. Never return null
; an empty
List should be returned instead.
default String getManagementDomain()
Manageable
Get the domain name to be used in registering the management bean. May be null
to indicate Hibernate’s
default domain (org.hibernate.core
) should be used.
getManagementDomain
in interface Manageable
default String getManagementServiceType()
Manageable
Allows the service to specify a special 'serviceType' portion of the object name. null
indicates
we should use the default scheme, which is to use the name of the service impl class for this purpose.
getManagementServiceType
in interface Manageable
default Object getManagementBean()
Manageable
The the management bean (MBean) for this service.
getManagementBean
in interface Manageable
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.