Rule Execution Server API

ilog.rules.engine
Class IlrToolFactory

java.lang.Object
  extended by 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

Constructor Summary
IlrToolFactory()
           
 
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
 

Constructor Detail

IlrToolFactory

public IlrToolFactory()
Method Detail

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.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013