Revision 058a92f1
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteController.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
/** |
32 | 32 |
* CDM Application Controller class for remoting clients |
33 |
* |
|
34 |
* FIXME:Remoting extending {@link CdmApplicationController} is a temporary workaround. |
|
35 |
* The {@link CdmApplicationController} should be split into a CdmApplicationControllerBase |
|
36 |
* class with {@link CdmApplicationController} and this class as subclasses |
|
37 | 33 |
*/ |
38 |
public class CdmApplicationRemoteController extends CdmApplicationControllerBase { |
|
34 |
public class CdmApplicationRemoteController |
|
35 |
extends CdmApplicationControllerBase<ICdmRepository> { |
|
39 | 36 |
|
40 | 37 |
private static final Logger logger = LogManager.getLogger(); |
41 | 38 |
|
... | ... | |
145 | 142 |
@Override |
146 | 143 |
protected void init(){ |
147 | 144 |
configuration = new CdmApplicationRemoteConfiguration(remoteSource); |
148 |
((CdmApplicationRemoteConfiguration)configuration).setApplicationContext(applicationContext); |
|
149 | 145 |
AbstractLazyInitializer.setConfiguration((CdmApplicationRemoteConfiguration)configuration); |
150 | 146 |
AbstractPersistentCollection.setConfiguration((CdmApplicationRemoteConfiguration)configuration); |
151 | 147 |
} |
Also available in: Unified diff
ref #10189 split CdmApplicationController into repository and application part in TaxEditor