Class AutoServiceListener<R>

java.lang.Object
ghidra.framework.plugintool.util.AutoServiceListener<R>
All Implemented Interfaces:
ServiceListener

public class AutoServiceListener<R> extends Object implements ServiceListener
  • Field Details

  • Constructor Details

    • AutoServiceListener

      public AutoServiceListener(R receiver)
  • Method Details

    • collectSettersByReceiver

      protected static <R> Set<AutoServiceListener.ServiceSetter<R,?>> collectSettersByReceiver(Class<R> cls)
    • serviceAdded

      public void serviceAdded(Class<?> iface, Object service)
      Description copied from interface: ServiceListener
      Notifies the listener that a service has been added to the tool.
      Specified by:
      serviceAdded in interface ServiceListener
      Parameters:
      iface - the interface class that the given service implements.
      service - the implementation of the service.
    • serviceRemoved

      public void serviceRemoved(Class<?> iface, Object service)
      Description copied from interface: ServiceListener
      Notifies the listener that a service has been removed from the tool.
      Specified by:
      serviceRemoved in interface ServiceListener
      Parameters:
      iface - the interface class that the given service implements.
      service - the implementation of the service.
    • notifyCurrentServices

      public void notifyCurrentServices(PluginTool tool)