org.springframework.beans.factory.serviceloader

Class ServiceFactoryBean

    • Constructor Detail

      • ServiceFactoryBean

        public ServiceFactoryBean()
    • Method Detail

      • getObjectToExpose

        protected java.lang.Object getObjectToExpose(java.util.ServiceLoader<?> serviceLoader)
        Description copied from class: AbstractServiceLoaderBasedFactoryBean
        Determine the actual object to expose for the given ServiceLoader.

        Left to concrete subclasses.

        Specified by:
        getObjectToExpose in class AbstractServiceLoaderBasedFactoryBean
        Parameters:
        serviceLoader - the ServiceLoader for the configured service class
        Returns:
        the object to expose