public static void readFactHandles(MarshallerReaderContext context, org.drools.marshalling.impl.ProtobufMessages.EntryPoint _ep, ObjectStore objectStore) throws IOException, ClassNotFoundException { InternalWorkingMemory wm = context.wm; WorkingMemoryEntryPoint entryPoint = context.wm.getEntryPoints().get( _ep.getEntryPointId() ); // load the handles for ( ProtobufMessages.FactHandle _handle : _ep.getHandleList() ) { InternalFactHandle handle = readFactHandle( context, entryPoint, _handle ); context.handles.put( handle.getId(), handle ); if ( handle.getObject() != null ) { objectStore.addHandle( handle, handle.getObject() ); } // add handle to object type node assertHandleIntoOTN( context, wm, handle ); } }
WorkingMemoryEntryPoint wmep = context.wm.getEntryPoints().get( _ep.getEntryPointId() ); readFactHandles( context, _ep,
/** * <code>optional string entry_point_id = 1;</code> */ public Builder clearEntryPointId() { bitField0_ = (bitField0_ & ~0x00000001); entryPointId_ = getDefaultInstance().getEntryPointId(); onChanged(); return this; } /**