public void deserialize(MarshallerReaderContext inCtx, Timer _timer) throws ClassNotFoundException { ExpireTimer _expire = _timer.getExpire(); InternalFactHandle factHandle = inCtx.handles.get( _expire.getHandleId() ); EntryPointNode epn = ((ReteooRuleBase)inCtx.wm.getRuleBase()).getRete().getEntryPointNode( new EntryPoint( _expire.getEntryPointId() ) ); Class<?> cls = ((ReteooRuleBase)inCtx.wm.getRuleBase()).getRootClassLoader().loadClass( _expire.getClassName() ); ObjectTypeNode otn = epn.getObjectTypeNodes().get( new ClassObjectType( cls ) ); TimerService clock = inCtx.wm.getTimerService(); JobContext jobctx = new ExpireJobContext( new WorkingMemoryReteExpireAction(factHandle, otn), inCtx.wm ); JobHandle handle = clock.scheduleJob( job, jobctx, new PointInTimeTrigger( _expire.getNextFireTimestamp(), null, null ) ); jobctx.setJobHandle( handle ); } }
/** * <code>optional string entry_point_id = 2;</code> */ public Builder clearEntryPointId() { bitField0_ = (bitField0_ & ~0x00000002); entryPointId_ = getDefaultInstance().getEntryPointId(); onChanged(); return this; } /**