Class Services


  • public final class Services
    extends Object
    Author:
    Martin Kouba
    See Also:
    Service
    • Method Detail

      • identifyServiceInterfaces

        public static Set<Class<? extends org.jboss.weld.bootstrap.api.Service>> identifyServiceInterfaces​(Class<?> clazz,
                                                                                                           Set<Class<? extends org.jboss.weld.bootstrap.api.Service>> serviceInterfaces)
        Identifies service views for a service implementation class. A service view is either: - an interface that directly extends Service or BootstrapService - a clazz that directly implements Service or BootstrapService
        Parameters:
        clazz - the given class
        serviceInterfaces - a set that this method populates with service views
        Returns:
        serviceInterfaces
      • put

        public static <T extends org.jboss.weld.bootstrap.api.Service> void put​(org.jboss.weld.bootstrap.api.ServiceRegistry registry,
                                                                                Class<T> key,
                                                                                org.jboss.weld.bootstrap.api.Service value)