|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.persistence.impl.ElasticPathDaoXmlFileImpl
public class ElasticPathDaoXmlFileImpl
Load elastic path configuration from an xml file. If you an alternative configuration file is not given, the default one is "commerce-config.xml". The xml configuration file must be put under WEB-INF directory.
Constructor Summary | |
---|---|
ElasticPathDaoXmlFileImpl()
Constructor. |
Method Summary | |
---|---|
void |
loadElasticPath(ElasticPath elasticPath)
Load the elastic path configuration. |
void |
loadGuidedNavigationConfig(ElasticPath elasticPath)
Load the guided navigation config. |
void |
setElasticPathFile(java.lang.String elasticPathFile)
Set the name of the alternative elastic path xml configuration file. |
void |
setGuidedNavigationFile(java.lang.String guidedNavigationFile)
Set the name of the alternative guided navigation xml configuration file. |
void |
setPaymentTypeFactory(PaymentTypeFactory paymentTypeFactory)
Set the PaymentTypeFactory singleton. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElasticPathDaoXmlFileImpl()
Method Detail |
---|
public void loadElasticPath(ElasticPath elasticPath) throws EpPersistenceException
loadElasticPath
in interface ElasticPathDao
elasticPath
- the ElasticPath
instance to load configuration into.
EpPersistenceException
- if something goes wrong.public void loadGuidedNavigationConfig(ElasticPath elasticPath) throws EpPersistenceException
loadGuidedNavigationConfig
in interface ElasticPathDao
elasticPath
- the given elasticPath
EpPersistenceException
- if something goes wrong.public void setElasticPathFile(java.lang.String elasticPathFile)
elasticPathFile
- the xmlconfiguration file namepublic void setGuidedNavigationFile(java.lang.String guidedNavigationFile)
guidedNavigationFile
- the guidedNavigationFile to setpublic void setPaymentTypeFactory(PaymentTypeFactory paymentTypeFactory)
PaymentTypeFactory
singleton.
paymentTypeFactory
- the paymentTypeFactory singleton.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |