org.springmodules.commons.chain
Class CatalogFactoryFactoryBean

java.lang.Object
  extended by AbstractFactoryBean
      extended by 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

Constructor Summary
CatalogFactoryFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  java.lang.Object createInstance()
           
 java.util.Map getCatalogs()
           
 Catalog getDefaultCatalog()
           
 java.lang.Class getObjectType()
           
 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.
 void setDefaultCatalog(Catalog defaultCatalog)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogFactoryFactoryBean

public CatalogFactoryFactoryBean()
Method Detail

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.