Last change
on this file since 68 was
68,
checked in by cbipsl, 14 years ago
|
commit v1 eccad
|
-
Property svn:executable set to
*
|
File size:
596 bytes
|
Line | |
---|
1 | package org.medias.eccad.persistance.fichier; |
---|
2 | |
---|
3 | import org.medias.eccad.modele.Visualisation; |
---|
4 | import org.medias.eccad.persistance.dao.MappingDAO; |
---|
5 | import org.medias.eccad.helpers.SpringBeanFactory; |
---|
6 | import org.springframework.beans.factory.xml.XmlBeanFactory; |
---|
7 | |
---|
8 | public class MappingDAOspring implements MappingDAO { |
---|
9 | |
---|
10 | public Visualisation getVisualisation(String type_produit) { |
---|
11 | XmlBeanFactory xmlbean = SpringBeanFactory.getXmlFactory(); |
---|
12 | Visualisation visu = (Visualisation) xmlbean.getBean(type_produit); |
---|
13 | //org.springframework.beans.factory.NoSuchBeanDefinitionException |
---|
14 | return visu; |
---|
15 | } |
---|
16 | |
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.