}
public BehaviorExpireWMAction(MarshallerReaderContext context,
Action _action) {
nodeId =_action.getBehaviorExpire().getNodeId();
WindowNode windowNode = (WindowNode) context.sinks.get( nodeId );
memory = (WindowMemory) context.wm.getNodeMemory( windowNode );
Object[] behaviorContext = ( Object[] ) memory.behaviorContext;
int i = 0; // <==== this needs fixing
this.behavior = (SlidingTimeWindow) windowNode.getBehaviors()[i];
this.context = ( SlidingTimeWindowContext ) behaviorContext[i];
pctx = null;
}