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.edmunds.etm.management.impl.EtmController.java

/**
 * The main ETM controller class, responsible for initializating the application.
 * <p/>
 * This class sets up the ZooKeeper node structure used throughout the system and connects to the ZooKeeper server.
 *
 * @author Ryan Holmes

From source file org.springframework.osgi.service.OsgiServiceExporter.java

/**
 * A bean that transparently publishes other beans in the same
 * application context as OSGi services.
 * 
 * The service properties used when publishing the service are
 * determined by the OsgiServicePropertiesResolver. The default

From source file org.opencredo.esper.integration.EventDrivenEsperInboundChannelAdapter.java

/**
 * Provides a simple inbound channel adapter that takes Esper events and places
 * them on the indicated Spring Integration channel. <br>
 * By default this adapter creates an Esper template with no name, by specifying
 * {@link #setTemplateName(String)} you will be able to create Esper template
 * with name.

From source file org.eclipse.gemini.blueprint.context.support.internal.scope.OsgiBundleScope.java

/**
 * OSGi bundle {@link org.springframework.beans.factory.config.Scope}
 * implementation.
 * 
 * Will allow per--calling-bundle object instance, thus this scope becomes
 * useful when enabled on localBeans exposed as OSGi services.

From source file org.hyperic.hq.events.server.session.AlertConditionEvaluatorRepositoryImpl.java

/**
 * Default implementation of{@link AlertConditionEvaluatorRepository} This
 * implementation is NOT thread-safe. Access to add, remove, and get should be
 * synchronized by external callers if concurrent access is expected (current
 * impl of add/get is single-threaded through RegisteredTriggerManager. remove
 * is very unlikely to occur concurrently). This implementation persists the

From source file org.apache.camel.component.spring.integration.adapter.CamelSourceAdapter.java

/**
 * A CamelContext will be injected into CameSourceAdapter which will
 * let Spring Integration channel talk to the CamelContext certain endpoint
 *
 * @version $Revision$
 */

From source file io.fabric8.spring.cloud.kubernetes.archaius.ArchaiusConfigMapSourceConfiguration.java

public class ArchaiusConfigMapSourceConfiguration
        implements InitializingBean, DisposableBean, WatchedConfigurationSource, Closeable {

    private final KubernetesClient client;
    private final String name;
    private final String namespace;

From source file ch.algotrader.service.ib.IBNativeMarketDataServiceImpl.java

/**
 * @author <a href="mailto:aflury@algotrader.ch">Andy Flury</a>
 */
public class IBNativeMarketDataServiceImpl extends NativeMarketDataServiceImpl
        implements ExternalMarketDataService, DisposableBean {

From source file com.frank.search.solr.server.support.EmbeddedSolrServerFactory.java

/**
 * The EmbeddedSolrServerFactory allows hosting of an SolrServer instance in
 * embedded mode. Configuration files are loaded via
 * {@link org.springframework.util.ResourceUtils}, therefore it is possible to
 * place them in classpath. Use this class for Testing. It is not recommended
 * for production.

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

/**
 * The EmbeddedSolrServerFactory allows hosting of an SolrServer instance in embedded mode. Configuration files are
 * loaded via {@link ResourceUtils}, therefore it is possible to place them in classpath. Use this class for Testing. It
 * is not recommended for production.
 * 
 * @author Christoph Strobl