|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.mapping.event.MappingContextEvent<E,P>
E - the PersistentEntity the context was created forP - the PersistentProperty the PersistentEntity consists ofpublic class MappingContextEvent<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>>
Base implementation of an ApplicationEvent refering to a PersistentEntity.
| Constructor Summary | |
|---|---|
MappingContextEvent(E source)
Creates a new MappingContextEvent for the given PersistentEntity. |
|
MappingContextEvent(E source,
TypeInformation<?> typeInformation)
Deprecated. use MappingContextEvent(PersistentEntity) instead. Will be removed for 1.3.GA. |
|
| Method Summary | |
|---|---|
E |
getPersistentEntity()
Returns the PersistentEntity the event was created for. |
TypeInformation<?> |
getTypeInformation()
Deprecated. use the TypeInformation available from getPersistentEntity() instead. Will be removed
for 1.3.GA. |
| Methods inherited from class org.springframework.context.ApplicationEvent |
|---|
getTimestamp |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MappingContextEvent(E source)
MappingContextEvent for the given PersistentEntity.
source - must not be null.
@Deprecated
public MappingContextEvent(E source,
TypeInformation<?> typeInformation)
MappingContextEvent(PersistentEntity) instead. Will be removed for 1.3.GA.
MappingContextEvent for the given PersistentEntity and TypeInformation.
source - must not be null.typeInformation - must not be null.| Method Detail |
|---|
@Deprecated public TypeInformation<?> getTypeInformation()
TypeInformation available from getPersistentEntity() instead. Will be removed
for 1.3.GA.
TypeInformation the event was created for (usually the one derived from the underlying
PersistentEntity).
public E getPersistentEntity()
PersistentEntity the event was created for.
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||