ilog.rules.engine
Class IlrToolFactory
java.lang.Object
ilog.rules.engine.IlrToolFactory
- Direct Known Subclasses:
- IlrLocalTracerToolFactory
public abstract class IlrToolFactory
- extends Object
The IlrToolFactory abstract class. This class create new instance
of IlrTool in order to connect it to an IlrContext.
- See Also:
IlrContext.connectTool(IlrToolFactory, String),
IlrLocalTracerToolFactory,
ilog.rules.debug.IlrBuilderToolFactory
|
Method Summary |
abstract IlrTool |
createTool(IlrContext context,
String name)
Creates a new IlrTool, this method is called each time the
IlrToolFactory is connected to an IlrContext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlrToolFactory
public IlrToolFactory()
createTool
public abstract IlrTool createTool(IlrContext context,
String name)
throws IlrToolConnectionException
Creates a new IlrTool, this method is called each time the
IlrToolFactory is connected to an IlrContext.
- Throws:
IlrToolConnectionException- Parameters:
context - The context on which the connectTool method is called.name - The user context name.
- Returns:
- a new
IlrTool where IlrContext's events are notified.