Class ReferenceListFactoryBean<T>

  • All Implemented Interfaces:
    RegistrationListener<T>, org.springframework.beans.factory.FactoryBean<List<T>>, org.springframework.beans.factory.InitializingBean

    public class ReferenceListFactoryBean<T>
    extends Object
    implements org.springframework.beans.factory.FactoryBean<List<T>>, org.springframework.beans.factory.InitializingBean, RegistrationListener<T>
    ReferenceFactoryBean
    Version:
    $Id: $
    Author:
    brozow
    • Constructor Detail

      • ReferenceListFactoryBean

        public ReferenceListFactoryBean()
    • Method Detail

      • setServiceRegistry

        public void setServiceRegistry​(ServiceRegistry serviceRegistry)

        setServiceRegistry

        Parameters:
        serviceRegistry - a ServiceRegistry object.
      • setServiceInterface

        public void setServiceInterface​(Class<T> serviceInterface)

        setServiceInterface

        Parameters:
        serviceInterface - a Class object.
      • setFilter

        public void setFilter​(String filter)
      • getObject

        public List<T> getObject()
                          throws Exception

        getObject

        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<T>
        Returns:
        a Object object.
        Throws:
        Exception - if any.
      • getObjectType

        public Class<?> getObjectType()

        getObjectType

        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<T>
        Returns:
        a Class object.
      • isSingleton

        public boolean isSingleton()

        isSingleton

        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean<T>
        Returns:
        a boolean.
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception

        afterPropertiesSet

        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception - if any.