Package org.drools.core.spi
Interface GlobalExporter
-
- All Superinterfaces:
Externalizable
,Serializable
- All Known Implementing Classes:
ReferenceOriginalGlobalExporter
public interface GlobalExporter extends Externalizable
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalResolver
export(WorkingMemory workingMemory)
This method is called internally by the StatelessSession, which will provide the WorkingMemory.-
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
-
-
-
-
Method Detail
-
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
-
-