Liferay 6.1.10-ee-ga1

com.liferay.portal.bean
Class BeanLocatorImpl

java.lang.Object
  extended by com.liferay.portal.bean.BeanLocatorImpl
All Implemented Interfaces:
BeanLocator

public class BeanLocatorImpl
extends Object
implements BeanLocator


Field Summary
static String VELOCITY_SUFFIX
           
 
Constructor Summary
BeanLocatorImpl(ClassLoader classLoader, org.springframework.context.ApplicationContext applicationContext)
           
 
Method Summary
protected  Object doLocate(String name)
           
 org.springframework.context.ApplicationContext getApplicationContext()
           
 ClassLoader getClassLoader()
           
 String[] getNames()
           
 Class<?> getType(String name)
           
<T> Map<String,T>
locate(Class<T> clazz)
           
 Object locate(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VELOCITY_SUFFIX

public static final String VELOCITY_SUFFIX
See Also:
Constant Field Values
Constructor Detail

BeanLocatorImpl

public BeanLocatorImpl(ClassLoader classLoader,
                       org.springframework.context.ApplicationContext applicationContext)
Method Detail

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()

getClassLoader

public ClassLoader getClassLoader()
Specified by:
getClassLoader in interface BeanLocator

getNames

public String[] getNames()
Specified by:
getNames in interface BeanLocator

getType

public Class<?> getType(String name)
Specified by:
getType in interface BeanLocator

locate

public <T> Map<String,T> locate(Class<T> clazz)
Specified by:
locate in interface BeanLocator

locate

public Object locate(String name)
              throws BeanLocatorException
Specified by:
locate in interface BeanLocator
Throws:
BeanLocatorException

doLocate

protected Object doLocate(String name)
                   throws Exception
Throws:
Exception

Liferay 6.1.10-ee-ga1