Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.nan21.dnet.core.web.controller.data;
 
 
 public class AbstractDsController<M, F, P> extends AbstractDnetController {

Lookup a data-source service.

Parameters:
dsName
Returns:
Throws:
java.lang.Exception
	public IDsService<M, F, P> findDsService(String dsNamethrows Exception {
		return this.getServiceLocator().findDsService(dsName);
	}

Lookup an entity service.

Parameters:
<E>
entityClass
Returns:
Throws:
java.lang.Exception
	public <E> IEntityService<E> findEntityService(Class<E> entityClass)
			throws Exception {
		return this.getServiceLocator().findEntityService(entityClass);
	}
New to GrepCode? Check out our FAQ X