org.drools.spi
Interface GlobalExporter
- All Superinterfaces:
- Externalizable, Serializable
- All Known Implementing Classes:
- CopyIdentifiersGlobalExporter, 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.
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
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.