Interface RegistrationListener
@ConsumerType
public interface RegistrationListener
Metadata for a registration listener interested in service registration and
unregistration events for a service.
The registration listener is called with the initial state of the service when the registration listener is actuated.
- Author:
- $Id: c99c78fd1e9e0a241bc7136ecbc53075885184c9 $
-
Method Summary
Modifier and TypeMethodDescriptionReturn the Metadata for the component that will receive registration and unregistration events.Return the name of the registration method.Return the name of the unregistration method.
-
Method Details
-
getListenerComponent
Target getListenerComponent()Return the Metadata for the component that will receive registration and unregistration events. This is specified by theref
attribute or via an inlined component.- Returns:
- The Metadata for the component that will receive registration and unregistration events.
-
getRegistrationMethod
String getRegistrationMethod()Return the name of the registration method. The registration method will be invoked when the associated service is registered with the service registry. This is specified by theregistration-method
attribute of the registration listener.- Returns:
- The name of the registration method.
-
getUnregistrationMethod
String getUnregistrationMethod()Return the name of the unregistration method. The unregistration method will be invoked when the associated service is unregistered from the service registry. This is specified by theunregistration-method
attribute of the registration listener.- Returns:
- The name of the unregistration method.
-