Interface SingletonServiceActivator

All Superinterfaces:
org.jboss.msc.service.ServiceActivator

public interface SingletonServiceActivator extends org.jboss.msc.service.ServiceActivator
ServiceActivator extension that automates singleton service installation.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    activate(org.jboss.msc.service.ServiceActivatorContext context)
     
    void
    Activates singleton services.
    default String
    Returns the singleton policy used for service installation, or null, if the default policy is to be used.
  • Method Details

    • activate

      default void activate(org.jboss.msc.service.ServiceActivatorContext context)
      Specified by:
      activate in interface org.jboss.msc.service.ServiceActivator
    • getSingletonPolicy

      default String getSingletonPolicy()
      Returns the singleton policy used for service installation, or null, if the default policy is to be used.
      Returns:
      a singleton policy name, or null
    • activate

      void activate(SingletonServiceActivatorContext context)
      Activates singleton services.
      Parameters:
      context - a context that exposes a target for singleton service installation