public class SelfAttachingContainerListener extends Object implements IListener
Modifier and Type | Class and Description |
---|---|
static class |
SelfAttachingContainerListener.Delegating |
static interface |
SelfAttachingContainerListener.DoNotDescend |
Constructor and Description |
---|
SelfAttachingContainerListener() |
Modifier and Type | Method and Description |
---|---|
void |
attach(Object element) |
void |
detach(Object element) |
protected void |
handleException(Exception ex) |
protected boolean |
isActive(Object element) |
protected boolean |
isWaitForActive() |
protected void |
notifyContainerEvent(IContainerEvent<?> event) |
void |
notifyEvent(IEvent event) |
protected void |
notifyOtherEvent(IEvent event) |
protected boolean |
shouldAttach(Object element) |
protected boolean |
shouldDescend(Object element) |
public void attach(Object element)
public void detach(Object element)
public void notifyEvent(IEvent event)
notifyEvent
in interface IListener
protected void notifyContainerEvent(IContainerEvent<?> event)
protected void notifyOtherEvent(IEvent event)
protected boolean shouldAttach(Object element)
protected boolean shouldDescend(Object element)
protected boolean isWaitForActive()
protected boolean isActive(Object element)
protected void handleException(Exception ex)
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.