com.liferay.portal.kernel.bean
Class BeanLocatorUtil

java.lang.Object
  extended by com.liferay.portal.kernel.bean.BeanLocatorUtil

public class BeanLocatorUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
BeanLocatorUtil()
           
 
Method Summary
static java.lang.Object locate(java.lang.String name)
           
static java.lang.Object locate(java.lang.String name, boolean warn)
           
static void setBeanLocator(BeanLocator beanLocator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanLocatorUtil

public BeanLocatorUtil()
Method Detail

locate

public static java.lang.Object locate(java.lang.String name)
                               throws BeanLocatorException
Throws:
BeanLocatorException

locate

public static java.lang.Object locate(java.lang.String name,
                                      boolean warn)
                               throws BeanLocatorException
Throws:
BeanLocatorException

setBeanLocator

public static void setBeanLocator(BeanLocator beanLocator)