Project

General

Profile

Revision ad9b6d23

IDad9b6d23c71156d6f471d2805ea88089ae518e3b
Parent 144ad436
Child 9a211f95

Added by Andreas Kohlbecker over 3 years ago

ref #5285 addon structure for cdmlib-remote extensions like cdm-vaadin with autodetection

View differences:

cdmlib-remote-webapp/src/main/java/eu/etaxonomy/cdm/addon/config/README
1
The package eu.etaxonomy.cdm.addon.config is an extension point where
2
addon-modules can place their Spring configuration classes. 
3
A component scan defined in cdmlib-remote-webapp will find them:
4
  
5
  <context:component-scan base-package="eu/etaxonomy/cdm/addon/config" />
6
  
cdmlib-remote-webapp/src/main/webapp/WEB-INF/applicationContext.xml
16 16
  -->
17 17
  
18 18
  <context:annotation-config />
19
  
20
  <!-- 
21
    The package eu.etaxonomy.cdm.addon.config is an extension point where
22
    addon-modules can place their Spring configuration classes. 
23
    This component scan will find them.
24
    
25
    This is currently used by cdm-vaadin 
26
   -->
27
  <context:component-scan base-package="eu/etaxonomy/cdm/addon/config" />
19 28

  
20 29
  <!-- include default application context and customization -->
21 30
  <import resource="classpath:/eu/etaxonomy/cdm/defaultApplicationContext.xml" />
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/api/config/README
1
The package eu.etaxonomy.cdm.api.config contains spring configurations 
2
which are to be loaded into the *root WebApplicationContext* loaded via 
3
*Spring's ContextLoaderListener*.
4

  
5
Further configurations are found in  eu.etaxonomy.cdm.opt.config
6

  
7
The root WebApplicationContext contains beans such for MVC specific configuration
8

  
9
The same package exists in the cdmlib-services project where further 
10
configuration classes are found. 

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)