Load 2 Gatewayhooks in 1 Module

Hello,

is it possible to have 2 Gateway Hooks in one Module.

  <hooks>
    <hook>
        <scope>G</scope>
      <hookClass>example.DeviceLoader</hookClass>
    </hook>
    <hook>
        <scope>G</scope>
        <hookClass>example.TagProvider</hookClass>
    </hook>
</hooks>

I wanted to have a Module which creates a Tag Provider and also a Device. But it seems it only loads
1 of the classes.

I already searched in forum but dont find any solution, so now im not sure if its even possible.

Thank you in advance!

br,
Roland

No, only one gateway hook is possible. You will need to compose the multiple extension point functionality within a single hook.

1 Like