Revision 19730251
Added by Cherian Mathew about 9 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/util/CdmSpringContextHelper.java | ||
---|---|---|
13 | 13 |
import com.vaadin.data.util.sqlcontainer.connection.JDBCConnectionPool; |
14 | 14 |
import com.vaadin.server.VaadinServlet; |
15 | 15 |
|
16 |
import eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration; |
|
16 | 17 |
import eu.etaxonomy.cdm.api.service.IClassificationService; |
17 | 18 |
import eu.etaxonomy.cdm.api.service.ICommonService; |
18 | 19 |
import eu.etaxonomy.cdm.api.service.IDescriptionService; |
... | ... | |
93 | 94 |
return getCurrent().getDataSource().getConnection(); |
94 | 95 |
} |
95 | 96 |
|
97 |
public static ICdmApplicationConfiguration getApplicationConfiguration() { |
|
98 |
return (ICdmApplicationConfiguration) getCurrent().getBean("cdmApplicationDefaultConfiguration"); |
|
99 |
} |
|
96 | 100 |
public static ITaxonService getTaxonService() { |
97 | 101 |
return (ITaxonService)getCurrent().getBean(ITaxonService.class); |
98 | 102 |
} |
... | ... | |
128 | 132 |
public static IDescriptionService getDescriptionService() { |
129 | 133 |
return (IDescriptionService)getCurrent().getBean(IDescriptionService.class); |
130 | 134 |
} |
135 |
|
|
136 |
|
|
137 |
|
|
131 | 138 |
} |
Also available in: Unified diff
added classification as argument for NewTaxonBaseComposite to allow for creation of taxon node