If the other service or a third party want to customize their code to handle a MembershipType event, the event can be new , update or remove. They should create a class that extends this class and register the listener to the organization service.
<configuration> [..] <external-component-plugins> <target-component>org.exoplatform.services.organization.OrganizationService</target-component> <component-plugin> <name>my.membership.type.listener</name> <set-method>addListenerPlugin</set-method> <type>my.package.MyMembershipTypeEventListener</type> <description>your listener description</description> </component-plugin> </external-component-plugins> [...] /configuration>
@author
Anatoliy Bazko
@LevelAPI Platform