List of usage examples for org.springframework.beans.factory DisposableBean interface-usage
From source file org.eclipse.sw360.fossology.ssh.JSchSessionProvider.java
@Component public class JSchSessionProvider implements DisposableBean { private static final Logger log = getLogger(JSchSessionProvider.class); static { JSch.setLogger(new JSchLogForwarder());
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.fusesource.fabric.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 org.fusesource.fabric.zookeeper.spring.ZKClientFactoryBean.java
/** * A Spring factory bean for creating ZK Clients */ public class ZKClientFactoryBean implements FactoryBean<IZKClient>, DisposableBean { private static final transient Log LOG = LogFactory.getLog(ZKClientFactoryBean.class);
From source file org.onebusaway.container.spring.ehcache.EhCacheManagerFactoryBean.java
/**
* * A Spring {@link FactoryBean} for programmatically creating an EhCache
* {@link CacheManager}, specifically allowing us to pass in a
* {@link Configuration} directly. The existing factory bean implementation
* provided by Spring directly does not allow one to programmatically specify
* the {@link Configuration} directly, which makes it difficult to dynamically
From source file org.camunda.bpm.webapp.test.util.DbSchemaPrefixTestHelper.java
/**
* <p>Test utility allowing to run the testsuite with a database
* table prefix</p>
*
* @author Daniel Meyer
*
From source file com.flipkart.phantom.task.impl.TaskHandler.java
/**
* <code>TaskHandler</code> executes a unit of work i.e thrift. Provides lifecycle methods to initialize the thrift processing infrastructure. Life cycle methods
* are invoked by the container in a thread-safe manner before this TaskHandler actually starts processing requests.
* This implementation works on the Command pattern where-in all data required to execute the thrift is provided in the method call to execute the thrift.
* Task execution is stateless i.e. there is no shared state between any number of consecutive thrift executions. The thrift execution pattern is request-response
* driven.
From source file org.jasig.cas.util.HttpClient.java
* specific language governing permissions and limitations * under the License. */ package org.jasig.cas.util; import java.io.BufferedReader;
From source file test.beans.LifecycleBean.java
/**
* Simple test of BeanFactory initialization and lifecycle callbacks.
*
* @author Rod Johnson
* @author Colin Sampaleanu
* @author Chris Beams
From source file org.springframework.integration.store.PropertiesPersistingMetadataStore.java
/**
* Properties file-based implementation of {@link MetadataStore}. To avoid conflicts
* each instance should be constructed with the unique key from which unique file name
* will be generated. The file name will be 'persistentKey' + ".last.entry".
* Files will be written to the 'java.io.tmpdir' + "/spring-integration/".
*