public class LifeCycleWrapper extends AbstractLifeCycle
LifeCycle.Event, LifeCycle.Listener
Modifier and Type | Field and Description |
---|---|
protected List<LifeCycle.Listener> |
listeners |
protected Object |
proxy |
Constructor and Description |
---|
LifeCycleWrapper(Object proxy) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(LifeCycle.Listener listener) |
void |
clearListeners() |
void |
trigger(LifeCycle.Event event) |
depose, fetch, init
protected Object proxy
protected List<LifeCycle.Listener> listeners
public LifeCycleWrapper(Object proxy)
public void trigger(LifeCycle.Event event) throws Exception
trigger
in class AbstractLifeCycle
Exception
public void addListener(LifeCycle.Listener listener)
public void clearListeners()
Copyright © 2017. All rights reserved.