org.apache.ode.bpel.compiler

## Interface ActivityGenerator

- All Known Implementing Classes:
    ForEachGenerator, SwitchGenerator

      public interface ActivityGenerator

  Interface implemented by classes providing activity-generating logic. Implementations of this interface are used to convert an activity description object (`org.apache.ode.bom.impl.nodes.ActivityImpl`) into a compiled BPEL representation.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `compile(OActivity output, Activity src)` Generate compiled representation for the given activity definition.
    `OActivity` | `newInstance(Activity src)`
    `void` | `setContext(CompilerContext context)`

- - ### Method Detail

    - #### setContext

          void setContext(CompilerContext context)

    - #### compile

          void compile(OActivity output,
                     Activity src)

      Generate compiled representation for the given activity definition.
      Parameters:
        `src` - activity definition

    - #### newInstance

          OActivity newInstance(Activity src)