List of usage examples for org.springframework.beans.factory DisposableBean interface-usage
From source file org.springframework.beans.factory.wiring.BeanConfigurerSupport.java
/**
* Convenient base class for bean configurers that can perform Dependency Injection
* on objects (however they may be created). Typically subclassed by AspectJ aspects.
*
* <p>Subclasses may also need a custom metadata resolution strategy, in the
* {@link BeanWiringInfoResolver} interface. The default implementation looks for
From source file org.springframework.scheduling.concurrent.ExecutorConfigurationSupport.java
/**
* Base class for classes that are setting up a
* {@code java.util.concurrent.ExecutorService}
* (typically a {@link java.util.concurrent.ThreadPoolExecutor}).
* Defines common configuration settings and common lifecycle handling.
*
From source file com.alibaba.dubbo.governance.sync.RegistryServerSync.java
/** * @author ding.lid */ public class RegistryServerSync implements InitializingBean, DisposableBean, NotifyListener { private static final Logger logger = LoggerFactory.getLogger(RegistryServerSync.class);
From source file org.springframework.amqp.rabbit.connection.SingleConnectionFactory.java
/**
* A {@link ConnectionFactory} implementation that returns the same Connections from all {@link #createConnection()}
* calls, and ignores calls to {@link com.rabbitmq.client.Connection#close()}.
*
* @author Mark Fisher
* @author Mark Pollack
From source file org.jasig.springframework.test.ServletPortletAwareTester.java
/** * Utility that prints out info about the app context it is wired up in * * @author Eric Dalquist */ public class ServletPortletAwareTester implements ApplicationContextAware, DisposableBean, ServletContextAware,
From source file org.ohmage.cache.UserBin.java
/**
* User storage. User objects are mapped to unique ids. Avoids dependencies on
* JEE session management. The lifetime param set on construction controls how
* long User objects stay active.
*
* @author Joshua Selsky
From source file ch.ralscha.extdirectspring.controller.ConfigurationService.java
@Service public class ConfigurationService implements InitializingBean, DisposableBean { @Autowired private ApplicationContext context;
From source file com.baidu.terminator.manager.service.LinkControlServiceImpl.java
@Service("linkControlService") public class LinkControlServiceImpl implements LinkControlService, DisposableBean { @Resource(name = "linkService") private LinkService linkService;
From source file org.alfresco.util.AbstractTriggerBean.java
/**
* A utility bean to wrap sceduling a job with a scheduler.
*
* @author Andy Hind
*/
@AlfrescoPublicApi
From source file org.qi4j.library.spring.bootstrap.internal.application.Qi4jApplicationFactoryBean.java
/** * This class responsible to handle the lifecycle of qi4j application. */ public final class Qi4jApplicationFactoryBean implements FactoryBean, DisposableBean, InitializingBean, ApplicationContextAware {