Node and parser factory behavior

The node factory and the parser factory assume roles in declaring a node to the broker or defining a parser.

Each loadable implementation library (LIL) has one node factory, or one parser factory, or has both. A node factory can identify many nodes, and a parser factory can identify many parsers.

When the broker loads the LIL, it calls the following functions:

Before the node factory is returned, the broker calls the following functions:

  1. cniCreateNodeFactory

    This function creates a single instance of the node factory in the broker.

  2. cndDefineNodeClass

    This function defines the name of a node class that a node factory supports, and identifies the nodes that the node factory can create.

Before the parser factory is returned, the broker calls the following functions:

  1. cpiCreateParserFactory

    This function creates a single instance of the named parser factory in the message broker.

  2. cpiDefineParserClass

    This function defines the name of a parser class that a parser factory supports, and identifies the parsers that the factory can create.

See the following topics for information on these functions:
Related concepts
Planning user-defined extensions
Planning user-defined input nodes
Planning user-defined message processing nodes
Planning user-defined output nodes
Planning user-defined parsers
Designing user-defined extensions
User-defined extensions in the runtime environment
C user-defined input node life cycle
Java user-defined input node life cycle
User-defined input nodes
User-defined message processing nodes
User-defined output nodes
User-defined parsers
Related tasks
Creating an input node in C
Creating an input node in Java
Creating a message processing or output node in C
Creating a message processing or output node in Java
Creating a user-defined parser
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:23:19

as24984_