public class SpaceStatusChangedAnnotationRegistry extends AbstractAnnotationRegistry implements SpaceStatusChangedEventListener
SpaceStatusChanged
annotation
When the application starts beans that has one or more of the annotation SpaceStatusChanged
are registered in this bean, and when
events arrive they are routed to the registered beans' methods.Constructor and Description |
---|
SpaceStatusChangedAnnotationRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
onSpaceStatusChanged(SpaceStatusChangedEvent event) |
protected void |
validateMethod(Class<?> annotation,
Method method) |
fireEvent, registerAnnotation
public SpaceStatusChangedAnnotationRegistry()
protected void validateMethod(Class<?> annotation, Method method)
validateMethod
in class AbstractAnnotationRegistry
public void onSpaceStatusChanged(SpaceStatusChangedEvent event)
onSpaceStatusChanged
in interface SpaceStatusChangedEventListener
event
- - an SpaceStatusChangedEvent
that contain the SuspendType
and the SpaceMode
}Copyright © GigaSpaces.