Package com.djrapitops.plan.settings
Class ListenerSvc
java.lang.Object
com.djrapitops.plan.settings.ListenerSvc
- All Implemented Interfaces:
ListenerService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.djrapitops.plan.settings.ListenerService
ListenerService.Holder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register()
void
registerListenerForPlan
(Object listener) Attempts to register an event listener to the platform as Plan.
-
Constructor Details
-
ListenerSvc
@Inject public ListenerSvc(net.playeranalytics.plugin.server.Listeners listeners)
-
-
Method Details
-
registerListenerForPlan
Description copied from interface:ListenerService
Attempts to register an event listener to the platform as Plan.This is an utility method for implementing listeners for platforms that don't have static access to the listener registration.
The listener needs to fulfill the qualities required by the platform.
- Specified by:
registerListenerForPlan
in interfaceListenerService
- Parameters:
listener
- listener object.
-
register
public void register()
-