Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
This file is part of Port@l Port@l 3.0 - Portal Engine and Management System Copyright (C) 2010 Isotrol, SA. http://www.isotrol.com Port@l is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Port@l is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Port@l. If not, see <http://www.gnu.org/licenses/>.
package com.isotrol.impe3.idx.config;
import static com.google.common.base.Preconditions.checkNotNull;
Full index service factory bean.

Author(s):
Andres Rodriguez Chamorro
Store.
	private final ReindexingStore store;
Delays.
	private final FullIndexer indexer;
Service.
	private volatile ReindexingIndexerService service = null;
		super(analyzer);
		this. = checkNotNull(store"The store must be provided");
		this. = checkNotNull(indexer"The indexer must be provided");
	}
	public synchronized void afterPropertiesSet() throws Exception {
		if ( == null) {
			Delays d = getDelays();
			if (d != null) {
			}
			s.start();
			 = s;
		}
	}
	public IndexerService getObject() throws Exception {
		return ;
	}
	public synchronized void destroy() throws Exception {
		if ( != null) {
			 = null;
		}
	}
New to GrepCode? Check out our FAQ X