To use the plugin in the component configuration, you must use the target-component:
<target-component>org.exoplatform.services.organization.OrganizationService</target-component>
The configuration can be found here.
<component-plugin>
<name>calendar.new.membership.event.listener</name>
<set-method>addListenerPlugin</set-method>
<type>org.exoplatform.calendar.service.impl.NewMembershipListener</type>
<description>description</description>
</component-plugin>
Details:
Name:
calendar.new.membership.event.listener
- The unique key to avoid duplicate names. Users can change it.
Type:
org.exoplatform.calendar.service.impl.NewMembershipListener
- The class which is set up to execute the creation of database.
Description: It is a plugin used to execute sending reminder emails to users.