blob: 95c449444df1a813e4e1c390d726a3007f64473d [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 v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Florian Pirchner - Initial implementation
*/
package org.eclipse.osbp.runtime.web.vaadin.common.data;
// TODO: Auto-generated Javadoc
/**
* Implementations are factories used by the {@link IBeanSearchServiceFactory}.
* Delegates are hooked up by {@link IBeanSearchServiceFactory} and requests for
* proper services are delegated to the delegates.
*/
public interface IBeanSearchServiceFactoryDelegate {
/**
* Returns the {@link IBeanSearchService} for the given type. If no proper
* implementation could be found, <code>null</code> must be returned.
*
* @param <BEAN>
* the generic type
* @param bean
* the bean
* @return the i bean search service
*/
<BEAN> IBeanSearchService<BEAN> createService(Class<BEAN> bean);
}