public class CommandContextPool extends Object
IfsCommand| Modifier and Type | Field and Description | 
|---|---|
protected Command | 
m_Cmd
The Command that the creates the CommandContexts 
 | 
protected Stack | 
m_Pool
The Pool 
 | 
| Constructor and Description | 
|---|
CommandContextPool(Command cmd)
Constructs a CommandContextPool for a Command 
 | 
| Modifier and Type | Method and Description | 
|---|---|
CommandContext | 
getCommandContext()
Gets a command context. 
 | 
void | 
returnCommandContext(CommandContext cc)
Returns a CommandContext to the pool. 
 | 
protected Command m_Cmd
protected Stack m_Pool
public CommandContextPool(Command cmd)
cmd - the commandpublic CommandContext getCommandContext() throws IfsException
IfsExceptionpublic void returnCommandContext(CommandContext cc)
Copyright © 2025. All rights reserved.