class ApplicationListenerAdapter<E extends OsgiBundleApplicationContextEvent>
extends java.lang.Object
implements org.springframework.context.event.SmartApplicationListener
ApplicationListener interface with OsgiBundleApplicationContextListener.| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<?> |
eventType |
private OsgiBundleApplicationContextListener<E> |
osgiListener |
private java.lang.String |
toString |
| Modifier | Constructor and Description |
|---|---|
private |
ApplicationListenerAdapter(OsgiBundleApplicationContextListener<E> listener) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static <E extends OsgiBundleApplicationContextEvent> |
createAdapter(OsgiBundleApplicationContextListener<E> listener) |
boolean |
equals(java.lang.Object obj) |
int |
getOrder() |
int |
hashCode() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
boolean |
supportsEventType(java.lang.Class<? extends org.springframework.context.ApplicationEvent> eventType) |
boolean |
supportsSourceType(java.lang.Class<?> sourceType) |
java.lang.String |
toString() |
private final OsgiBundleApplicationContextListener<E extends OsgiBundleApplicationContextEvent> osgiListener
private final java.lang.Class<?> eventType
private final java.lang.String toString
private ApplicationListenerAdapter(OsgiBundleApplicationContextListener<E> listener)
static <E extends OsgiBundleApplicationContextEvent> ApplicationListenerAdapter<E> createAdapter(OsgiBundleApplicationContextListener<E> listener)
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean supportsEventType(java.lang.Class<? extends org.springframework.context.ApplicationEvent> eventType)
supportsEventType in interface org.springframework.context.event.SmartApplicationListenerpublic boolean supportsSourceType(java.lang.Class<?> sourceType)
supportsSourceType in interface org.springframework.context.event.SmartApplicationListenerpublic int getOrder()
getOrder in interface org.springframework.core.Ordered