/* (non-Javadoc)
* @see org.fireflow.kernel.IEdgeInstance#take(org.fireflow.kernel.IToken)
*/
public boolean take(IToken token) throws KernelException {
EdgeInstanceEvent e = new EdgeInstanceEvent(this);
e.setToken(token);
e.setEventType(EdgeInstanceEvent.ON_TAKING_THE_TOKEN);
for (int i = 0; this.eventListeners != null && i < this.eventListeners.size(); i++) {
IEdgeInstanceEventListener listener = this.eventListeners.get(i);
listener.onEdgeInstanceEventFired(e); //调用TransitionInstanceExtension 来计算弧线上的条件表达式
}