org.springmodules.commons.chain
Class CatalogFactoryFactoryBean
java.lang.Object
AbstractFactoryBean
org.springmodules.commons.chain.CatalogFactoryFactoryBean
public class CatalogFactoryFactoryBean
- extends AbstractFactoryBean
Simple FactoryBean used for simplifying CatalogFactory creation from Spring
application context XML.
- Author:
- Costin Leau
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatalogFactoryFactoryBean
public CatalogFactoryFactoryBean()
getDefaultCatalog
public Catalog getDefaultCatalog()
setDefaultCatalog
public void setDefaultCatalog(Catalog defaultCatalog)
createInstance
protected java.lang.Object createInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class getObjectType()
getCatalogs
public java.util.Map getCatalogs()
setCatalogs
public void setCatalogs(java.util.Map catalogs)
- Add the map of catalogs to the catalog factory, using the key as the name and the value
as the catalog.
- Parameters:
catalogs -
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005. All Rights Reserved.