org.springmodules.commons.chain
Class CatalogFactoryBean

java.lang.Object
  extended by AbstractFactoryBean
      extended by org.springmodules.commons.chain.CatalogFactoryBean

public class CatalogFactoryBean
extends AbstractFactoryBean

Simple FactoryBean used for simplifying Catalog creation from Spring application context XML.

Author:
Costin Leau

Constructor Summary
CatalogFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  java.lang.Object createInstance()
           
 java.util.Map getCommands()
           
 java.lang.Class getObjectType()
           
 void setCommands(java.util.Map commands)
          Add the map of commands to the created catalog, using the key as the name and the value as the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogFactoryBean

public CatalogFactoryBean()
Method Detail

createInstance

protected java.lang.Object createInstance()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()

getCommands

public java.util.Map getCommands()

setCommands

public void setCommands(java.util.Map commands)
Add the map of commands to the created catalog, using the key as the name and the value as the command.

Parameters:
catalogs -

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005. All Rights Reserved.