List of usage examples for org.springframework.beans.factory DisposableBean interface-usage
From source file org.springframework.data.hadoop.mapreduce.JobRunner.java
/**
* Simple runner for submitting Hadoop jobs sequentially. By default, the runner waits for the jobs to finish and returns a boolean indicating
* whether all the jobs succeeded or not (when there's no waiting, the status cannot be determined and null is returned).
* <p/>
* For more control over the job execution and outcome consider querying the {@link Job}s or using Spring Batch (see the reference documentation for more info).
*
From source file org.eclipse.gemini.blueprint.extender.internal.blueprint.activator.BlueprintListenerManager.java
/**
* Management class sending notifications to ModuleContextListener services. The class deals with the management of the
* listener services.
*
* @author Costin Leau
*
From source file at.molindo.notify.dispatch.PollingPushDispatcher.java
public class PollingPushDispatcher extends AbstractPushDispatcher implements INotifyService.INotificationListner, DisposableBean, SmartLifecycle { private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(PollingPushDispatcher.class); private static final int DEFAULT_POOL_SIZE = 1;
From source file org.openspaces.core.space.cache.AbstractLocalCacheSpaceFactoryBean.java
/**
* Base class for different Local cache space proxies that work with a master {@link IJSpace}. The
* master is set using {@link #setSpace(IJSpace)}. This factory represents an {@link IJSpace} that
* is the local cache proxy on top of the master space.
*
* <p>
From source file ruiliu2.practice.elasticsearch.client.TransportClientFactoryBean.java
/**
* TransportClientFactoryBean
*
* @author Rizwan Idrees
* @author Mohsin Husen
* @author Jakub Vavrik
From source file org.apache.syncope.core.workflow.activiti.spring.DomainProcessEngineFactoryBean.java
/** * Spring factory for {@link DomainProcessEngine} which takes the provided {@link SpringProcessEngineConfiguration} as * template for each of the configured Syncope domains. */ public class DomainProcessEngineFactoryBean implements FactoryBean<DomainProcessEngine>, DisposableBean, ApplicationContextAware {
From source file org.springframework.osgi.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 com.capitalone.commander.example.kafka_streams.CommandProcessor.java
@Component public class CommandProcessor implements InitializingBean, DisposableBean { private final Logger logger = LoggerFactory.getLogger(this.getClass()); private KafkaStreams kafkaStreams; private String commandsTopic;
From source file org.apereo.portal.utils.cache.SpringCacheEventListenerFactory.java
/** * Returns references to Spring configured {@link CacheEventListener}s */ @Service public class SpringCacheEventListenerFactory extends CacheEventListenerFactory implements DisposableBean { public static final String BEAN_NAME = "beanName";
From source file org.trpr.platform.integration.impl.messaging.RabbitMQMessagePublisherImpl.java
/**
* The <code>RabbitMQMessagePublisherImpl</code> class is an implementation of {@link MessagePublisher} that uses RabbitMQ as the underlying messaging
* provider. This implementation is compatible with Java client API of RabbitMQ version 2.2.0. Backward/Forward compatibility with other versions
* requires verification.
*
* This publisher will exhaust all {@link RabbitMQConfiguration} instances when trying to publish a message and fails only when every one of the