org.apache.cocoon.core.container.spring.pipeline
Class PipelineComponentInfoFactoryBean

java.lang.Object
  extended byorg.apache.cocoon.core.container.spring.pipeline.PipelineComponentInfoFactoryBean
All Implemented Interfaces:
BeanFactoryAware, FactoryBean

public class PipelineComponentInfoFactoryBean
extends Object
implements FactoryBean, BeanFactoryAware

This spring factory bean adds the processor component info to the bean factory.

Since:
2.2
Version:
$Id: PipelineComponentInfoFactoryBean.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  BeanFactory beanFactory
          The bean factory.
protected  Map data
           
protected  PipelineComponentInfo info
           
 
Constructor Summary
PipelineComponentInfoFactoryBean()
           
 
Method Summary
 Map getData()
           
 Object getObject()
           
 Class getObjectType()
           
protected  void init()
           
 boolean isSingleton()
           
 void setBeanFactory(BeanFactory factory)
           
 void setData(Map data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanFactory

protected BeanFactory beanFactory
The bean factory.


data

protected Map data

info

protected PipelineComponentInfo info
Constructor Detail

PipelineComponentInfoFactoryBean

public PipelineComponentInfoFactoryBean()
Method Detail

setBeanFactory

public void setBeanFactory(BeanFactory factory)
                    throws BeansException
Specified by:
setBeanFactory in interface BeanFactoryAware
Throws:
BeansException
See Also:
BeanFactoryAware.setBeanFactory(org.springframework.beans.factory.BeanFactory)

init

protected void init()
             throws Exception
Throws:
Exception

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface FactoryBean
Throws:
Exception
See Also:
FactoryBean.getObject()

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface FactoryBean
See Also:
FactoryBean.getObjectType()

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean
See Also:
FactoryBean.isSingleton()

getData

public Map getData()

setData

public void setData(Map data)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.