blob: 9efbf59d37399461dc2574f5011abf7c9cb79b69 [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Florian Pirchner - Initial implementation
*/
package org.eclipse.osbp.runtime.web.vaadin.common.data;
// TODO: Auto-generated Javadoc
/**
* This factory is exposed as an OSGi service and will return new bean search
* service instances for the given bean type.
*/
public interface IBeanSearchServiceFactory {
/**
* Returns the {@link IBeanSearchService} for the given type. If no proper
* implementation could be found, an in memory service will be returned.
*
* @param <BEAN>
* the generic type
* @param type
* the type
* @return the i bean search service&lt; bea n&gt;
*/
<BEAN> IBeanSearchService<BEAN> createService(Class<BEAN> type);
}