Can I register a contribution on the fly ?

Hello

Is it possible to register, override contribution from java code when runtime already started? For example i need to remove some event listener contrib and register new one on demand.

Thanks.

0 votes

1 answers

1280 views

ANSWER



Yes it's possible by calling EventService.addEventListener. I wouldn't recommend it in production though, such dynamic behavior is usually a bad idea.

0 votes