Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.kie.api.runtime
Interface Channel

    public interface Channel

A channel provides a mechanism to send objects from the working memory to some external process or function. For instance, a channel can be used to inform some piece of code that an object matches a rule.

To create a channel, implement the interface and register it with the KnowledgeRuntime:

     ...
     ksession.registerChannel("my-channel", new MyChannelImpl());

Channels are invoked from the consequence side of a rule:

     when
       ...
     then
       channels["my-channel"].send(...);

Method Summary
`void` | `send(Object object)` Sends the given object to this channel.

Method Detail

### send

    void send(Object object)

  Sends the given object to this channel.

  Parameters:
    `object` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.