class SimpleRegistrationListener extends java.lang.Object implements RegistrationListener
RegistrationListener implementation.| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
LISTENER_NAME_PROP |
private static java.lang.String |
LISTENER_PROP |
private Target |
listenerComponent |
private static java.lang.String |
REG_PROP |
private java.lang.String |
registrationMethod |
private static java.lang.String |
UNREG_PROP |
private java.lang.String |
unregistrationMethod |
| Constructor and Description |
|---|
SimpleRegistrationListener(org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition) |
| Modifier and Type | Method and 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.
|
private static final java.lang.String REG_PROP
private static final java.lang.String UNREG_PROP
private static final java.lang.String LISTENER_NAME_PROP
private static final java.lang.String LISTENER_PROP
private final Target listenerComponent
private final java.lang.String registrationMethod
private final java.lang.String unregistrationMethod
public SimpleRegistrationListener(org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition)
public Target getListenerComponent()
RegistrationListenerref attribute or via an inlined
component.getListenerComponent in interface RegistrationListenerpublic java.lang.String getRegistrationMethod()
RegistrationListenerregistration-method attribute of
the registration listener.getRegistrationMethod in interface RegistrationListenerpublic java.lang.String getUnregistrationMethod()
RegistrationListenerunregistration-method attribute of
the registration listener.getUnregistrationMethod in interface RegistrationListener