List of usage examples for com.liferay.portal.kernel.bean BeanLocator locate
public Object locate(String name) throws BeanLocatorException;
From source file:au.com.permeance.liferay.portlet.controller.FluentReflection.java
License:Open Source License
public static BeanLocatorReflection within(final BeanLocator b) { return new BeanLocatorReflection() { @Override// www.ja va 2 s . co m public FluentReflectionInvokation on(final String beanName) { Object bean = b.locate(beanName); return new ReflectionInvokation(bean); } }; }