org.apache.continuum.scm.manager.spring
Class ScmProviderFactoryBean

java.lang.Object
  extended by org.apache.continuum.scm.manager.spring.ScmProviderFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.context.ApplicationContextAware

public class ScmProviderFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.context.ApplicationContextAware

Factory bean to inject all beans of type ScmProvider

<bean id="scmProviders" class="org.apache.continuum.scm.manager.spring.ScmManagerFactoryBean"/>

Version:
$Id: ScmProviderFactoryBean.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Carlos Sanchez

Constructor Summary
ScmProviderFactoryBean()
           
 
Method Summary
 Object getObject()
          FIXME : change how we find scm implementations
 Class getObjectType()
           
 boolean isSingleton()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScmProviderFactoryBean

public ScmProviderFactoryBean()
Method Detail

getObject

public Object getObject()
                 throws Exception
FIXME : change how we find scm implementations

Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception
See Also:
FactoryBean.getObject()

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.