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

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

Introduction

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

Usage

From source file com.gigaspaces.persistency.MongoSpaceSynchronizationEndpointBeanFactory.java

public class MongoSpaceSynchronizationEndpointBeanFactory
        implements FactoryBean<MongoSpaceSynchronizationEndpoint>, InitializingBean, DisposableBean {

    private final MongoSpaceSynchronizationEndpointConfigurer configurer = getConfigurer();
    private MongoSpaceSynchronizationEndpoint mongoSpaceSynchronizationEndpoint;

From source file com.vilt.minium.TestConfiguration.java

@Configuration
public class TestConfiguration implements DisposableBean {

    private ChromeDriverService service;

    @Value("#{systemProperties['minium.remote.url']}")

From source file gov.nih.nci.cabig.caaers.tools.JMXBeansRegistrar.java

/**
 * Registers JMX beans used to monitor the application.
 * 
 * @author dkrylov
 * 
 */

From source file org.geoserver.wps.hz.HazelcastLoader.java

/**
 * This class loads the Hazelcast configuration, making sure it contains the expected elements
 * 
 * @author Andrea Aime - GeoSolutions
 */
public class HazelcastLoader implements DisposableBean {

From source file org.alfresco.mongo.MongoDBFactory.java

/**
 * A Spring-friendly, <b>singleton factory</b> of {@link DB} instances.
 * Client code should retrieve the DB instance and keep hold of it.
 * The DB instance will be closed by this factory when the Spring context shuts down.
 * <p/>
 * The use of the Spring {@link FactoryBean} means that we can use an instance of this to inject DB instances

From source file fr.mby.utils.common.jpa.AbstractOsgiJpaDao.java

/**
 * @author Maxime Bossard - 2013
 * 
 */
public abstract class AbstractOsgiJpaDao implements BundleContextAware, InitializingBean, DisposableBean {

From source file org.springframework.data.hadoop.cascading.CascadingExecutor.java

/**
 * Common class used for executing Cascading uow.
 * 
 * @author Costin Leau
 */
class CascadingExecutor implements DisposableBean {

From source file com.mtgi.analytics.aop.config.TemplateBeanDefinitionFactory.java

/**
 * <p>Bootstraps a bean from one {@link BeanFactory} into another.  The intent is that we can
 * "embed" one Spring bean factory inside another, and use instances of this class to promote
 * public beans out of the embedded factory.</p>
 * 
 * <p>Not intended to be used directly in spring configuration files, but rather indirectly via

From source file uk.ac.ebi.intact.dataexchange.enricher.EnricherContext.java

/**
 * TODO comment this
 *
 * @author Bruno Aranda (baranda@ebi.ac.uk)
 * @version $Id$
 */

From source file com.ximalaya.shardis.jedis.ShardJedisConnectionFactory.java

/**
 * <code>ShardRedisConnectionFactory</code> implementation based on jedis.
 * 
 * @author ted created at 2013-5-24
 * @version 1.0
 */