org.drools.spi
Interface GlobalExporter
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- CopyIdentifiersGlobalExporter, ReferenceOriginalGlobalExporter
public interface GlobalExporter
- extends java.io.Serializable
Used to provide a strategy for the StatelessSession global exportation, so that StatelessSessionResult can have accesso to
globals using during the execute(...) method that returned the StatelessSessionResult.
export
GlobalResolver export(WorkingMemory workingMemory)
- This method is called internally by the StatelessSession, which will provide the WorkingMemory.
The returned GlobalResolver is used by the StatefulSessionResult
- Parameters:
workingMemory
-
- Returns:
- The GlobalResolver instance as used by the StatefulSessionResult