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 cz.muni.fi.editor.services.commons.CacheManagerFactoryBean.java

/**
 * Created by Dominik Szalai - emptulik at gmail.com on 21.11.2016.
 */
@Log4j2
@Component
public class CacheManagerFactoryBean implements FactoryBean<CacheManager>, InitializingBean {

From source file io.pivotal.spring.xd.jdbcgpfdist.support.LoadConfigurationFactoryBean.java

public class LoadConfigurationFactoryBean implements FactoryBean<LoadConfiguration>, InitializingBean {

    private ControlFile controlFile;

    private String table;

From source file com.baidu.jprotobuf.rpc.client.AnnotationProxyFactoryBean.java

/**
 * 
 * @author xiemalin
 * @since 1.1.0
 */
public class AnnotationProxyFactoryBean<I, O> extends AbstractProxyFactoryBean

From source file com.flipkart.aesop.runtime.jetty.JettyWebAppContextFactory.java

/**
 * The Spring factory bean for creating the Jetty WebAppContext using resources found on the classpath
 * 
 * @author Regunath B
 * @version 1.0, 07 Jan 2014
 */

From source file org.springframework.amqp.rabbit.stocks.context.RedisPropertiesFactoryBean.java

/**
 * @author Dave Syer
 * 
 */
public class RedisPropertiesFactoryBean implements FactoryBean<Properties> {

From source file org.springframework.scheduling.timer.TimerFactoryBean.java

/**
 * FactoryBean that sets up a JDK 1.3+ Timer and exposes it for bean references.
 *
 * <p>Allows for registration of ScheduledTimerTasks, automatically starting
 * the Timer on initialization and cancelling it on destruction of the context.
 * In scenarios that just require static registration of tasks at startup,

From source file admin.jmx.StepExecutionServiceLevelMonitor.java

/**
 * Monitors executions of a given step and sends JMX notifications if it takes
 * too long. The monitor is a {@link MonitorMBean} so it can be automatically
 * exposed to an existing MBeanServer using Spring JMX. JMX clients subscribe to
 * notifications and receive them whenever the thresholds are crossed.
 * 

From source file com.retroduction.carma.config.LibrariesFactoryBean.java

public class LibrariesFactoryBean implements FactoryBean {
    private URL[] libraryUrls;

    public void setDependenciesAsCsvFileNames(String csvFiles) throws MalformedURLException {
        String[] fileNames = csvFiles.split(",");
        List<File> files = new ArrayList<File>(fileNames.length);

From source file de.davidbilge.spring.remoting.amqp.client.AmqpProxyFactoryBean.java

/**
 * {@link FactoryBean} for AMQP proxies. Exposes the proxied service for use as a bean reference, using the specified
 * service interface. Proxies will throw Spring's unchecked RemoteAccessException on remote invocation failure.
 * 
 * <p>
 * This is intended for an "RMI-style" (i.e. synchroneous) usage of the AMQP protocol. Obviously, AMQP allows for a much

From source file org.mule.cloudconnect.ibeans.IBeanFactoryBean.java

public abstract class IBeanFactoryBean<T> implements FactoryBean<T>, MuleContextAware {

    protected MuleContext muleContext;

    public T getObject() throws Exception {
        IBeanBinding binding = createBinding(getObjectType().getSimpleName());