Package com.liferay.portal.bean
Class BeanLocatorImpl
Object
com.liferay.portal.bean.BeanLocatorImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.bean.BeanLocator
- Author:
- Brian Wing Shun Chan, Miguel Pastor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBeanLocatorImpl
(ClassLoader classLoader, org.springframework.context.ApplicationContext applicationContext) -
Method Summary
-
Field Details
-
VELOCITY_SUFFIX
- See Also:
-
-
Constructor Details
-
BeanLocatorImpl
public BeanLocatorImpl(ClassLoader classLoader, org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfacecom.liferay.portal.kernel.bean.BeanLocator
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
getClassLoader
- Specified by:
getClassLoader
in interfacecom.liferay.portal.kernel.bean.BeanLocator
-
getNames
- Specified by:
getNames
in interfacecom.liferay.portal.kernel.bean.BeanLocator
-
getType
- Specified by:
getType
in interfacecom.liferay.portal.kernel.bean.BeanLocator
-
locate
public <T> Map<String,T> locate(Class<T> clazz) throws com.liferay.portal.kernel.bean.BeanLocatorException - Specified by:
locate
in interfacecom.liferay.portal.kernel.bean.BeanLocator
- Throws:
com.liferay.portal.kernel.bean.BeanLocatorException
-
locate
- Specified by:
locate
in interfacecom.liferay.portal.kernel.bean.BeanLocator
- Throws:
com.liferay.portal.kernel.bean.BeanLocatorException
-
doLocate
This method ensures the calls stack is the proper length.- Throws:
Exception
-
doLocate
- Throws:
Exception
-