Class WpsPluginService<E extends WpsPlugin,​D extends WpsPluginDao<E>>

    • Constructor Detail

      • WpsPluginService

        public WpsPluginService()
        Default constructor, which calls the type-constructor
      • WpsPluginService

        protected WpsPluginService​(Class<E> entityClass)
        Constructor that sets the concrete entity class for the service. Subclasses MUST call this constructor.
    • Method Detail

      • setDao

        @Autowired
        @Qualifier("wpsPluginDao")
        public void setDao​(D dao)
        We have to use Qualifier to define the correct dao here. Otherwise, spring can not decide which dao has to be autowired here as there are multiple candidates.
        Overrides:
        setDao in class PluginService<E extends WpsPlugin,​D extends WpsPluginDao<E>>
        Parameters:
        dao - the dao to set