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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Target
getListenerComponent()
Return the Metadata for the component that will receive registration and unregistration events.java.lang.String
getRegistrationMethod()
Return the name of the registration method.java.lang.String
getUnregistrationMethod()
Return the name of the unregistration method.
-
-
-
Method Detail
-
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
java.lang.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
java.lang.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.
-
-