Example usage for org.springframework.beans.factory FactoryBean interface-usage

List of usage examples for org.springframework.beans.factory FactoryBean interface-usage

Introduction

In this page you can find the example usage for org.springframework.beans.factory FactoryBean interface-usage.

Usage

From source file org.springframework.data.solr.server.support.HttpSolrServerFactoryBean.java

/**
 * @author Christoph Strobl
 */
public class HttpSolrServerFactoryBean extends HttpSolrServerFactory
        implements FactoryBean<SolrServer>, InitializingBean, DisposableBean {

From source file deus.common.EasyMockFactoryBean.java

/**
 * This is needed for autowiring mocks, that are created by EasyMock. Spring
 * uses the return type of factory methods for autowiring the beans that are
 * created by these methods. Since <code>Easymock.createMock(Class)</code>
 * returns an Object, Spring fails to autowire Mocks created by this method.
 * 

From source file grails.plugins.quartz.CustomTriggerFactoryBean.java

/**
 * Creates and registers trigger beans in the Spring context.
 *
 * @author Sergey Nebolsin (nebolsin@gmail.com)
 */
public class CustomTriggerFactoryBean implements FactoryBean<Trigger>, InitializingBean {

From source file io.fabric8.zookeeper.spring.CuratorFactoryBean.java

public class CuratorFactoryBean implements FactoryBean<CuratorFramework>, DisposableBean {

    private static final transient Log LOG = LogFactory.getLog(CuratorFactoryBean.class);

    private String connectString = "localhost:2181";
    private String password;

From source file be.bzbit.framework.spring.support.KeyStoreFactoryBean.java

/**
 * Spring factory bean for a {@link KeyStore}.
 * <p/>
 * To load an existing key store, you must set the <code>location</code>
 * property. If this property is not set, a new, empty key store is created,
 * which is most likely not what you want.

From source file org.springframework.data.solr.server.support.HttpSolrClientFactoryBean.java

/**
 * {@link HttpSolrClientFactoryBean} replaces HttpSolrServerFactoryBean from version 1.x.
 * 
 * @author Christoph Strobl
 * @since 2.0
 */

From source file org.springframework.ws.soap.security.support.KeyStoreFactoryBean.java

/**
 * Spring factory bean for a {@link KeyStore}.
 * <p/>
 * To load an existing key store, you must set the <code>location</code> property. If this property is not set, a new,
 * empty key store is created, which is most likely not what you want.
 *

From source file org.grails.datastore.gorm.mongo.bean.factory.GMongoFactoryBean.java

 * A Factory bean for initializing a {@link GMongo} instance
 *
 * @author Graeme Rocher
 */
public class GMongoFactoryBean implements FactoryBean<GMongo>, InitializingBean/*,
                                                                               PersistenceExceptionTranslator*/ {

From source file com.intelligentsia.dowsers.entity.manager.MetaEntityStoreFactory.java

/**
 * 
 * MetaEntityStoreFactory implements {@link FactoryBean} for
 * {@link MetaEntityStore}.
 * 
 * @author <a href="mailto:jguibert@intelligents-ia.com">Jerome Guibert</a>

From source file com.obergner.hzserver.pluggable.ComposableXmlConfigFactoryBean.java

/**
 * <p>
 * TODO: Document ComposableXmlConfigFactoryBean
 * <p>
 * 
 * @author obergner <a href="olaf.bergner@gmx.de">Olaf Bergner</a>