public class LifeCycleWrapper extends AbstractLifeCycle
LifeCycle.Event, LifeCycle.Listener
限定符和类型 | 字段和说明 |
---|---|
protected List<LifeCycle.Listener> |
listeners |
protected Object |
proxy |
构造器和说明 |
---|
LifeCycleWrapper(Object proxy) |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 AbstractLifeCycle
Exception
public void addListener(LifeCycle.Listener listener)
public void clearListeners()
Copyright © 2017. All rights reserved.