Spring Framework DefaultLifecycleProcessor - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework DefaultLifecycleProcessor class.

This code example shows how to use the following methods:
 * ApplicationContext (PathSharingContext) is built ('refreshed').  
 * (That is, it restores the Spring 2.5 behavior.) 
 *  
 * @contributor gojomo 
 */ 
public class HeritrixLifecycleProcessor extends DefaultLifecycleProcessor implements BeanNameAware { 
    protected String name; 
     
    @Override 
    public void onRefresh() { 
        // do nothing: we do not want to auto-start 
    } 
 
    @Override 
    public void setBeanName(String name) { 
        this.name = name;  
    } 
    public String getBeanName() { 
         return name;  
    } 
5
CodeRank