|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.listener.AbstractCompositeListener<T>
T - the type of the listenerpublic class AbstractCompositeListener<T>
Base implementation for all composite listeners.
| Constructor Summary | |
|---|---|
AbstractCompositeListener()
Constructs instance with an empty listener list. |
|
| Method Summary | |
|---|---|
OrderedComposite<T> |
getListeners()
Gets the listeners. |
void |
register(T listener)
Register a new listener. |
void |
setListeners(java.util.List<? extends T> listeners)
Sets the list of listeners. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCompositeListener()
| Method Detail |
|---|
public void setListeners(java.util.List<? extends T> listeners)
listeners - the new listenerspublic void register(T listener)
listener - the listenerpublic OrderedComposite<T> getListeners()
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||