public class BeanLocatorImpl extends Object implements com.liferay.portal.kernel.bean.BeanLocator
| Modifier and Type | Class and Description |
|---|---|
static interface |
BeanLocatorImpl.PACL |
| Modifier and Type | Field and Description |
|---|---|
static String |
VELOCITY_SUFFIX |
| Constructor and Description |
|---|
BeanLocatorImpl(ClassLoader classLoader,
org.springframework.context.ApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected <T> Map<String,T> |
doLocate(Class<T> clazz)
This method ensures the calls stack is the proper length.
|
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) |
void |
setPACLServletContextName(String paclServletContextName) |
public static final String VELOCITY_SUFFIX
public BeanLocatorImpl(ClassLoader classLoader, org.springframework.context.ApplicationContext applicationContext)
public void destroy()
destroy in interface com.liferay.portal.kernel.bean.BeanLocatorpublic org.springframework.context.ApplicationContext getApplicationContext()
public ClassLoader getClassLoader()
getClassLoader in interface com.liferay.portal.kernel.bean.BeanLocatorpublic String[] getNames()
getNames in interface com.liferay.portal.kernel.bean.BeanLocatorpublic Class<?> getType(String name)
getType in interface com.liferay.portal.kernel.bean.BeanLocatorpublic <T> Map<String,T> locate(Class<T> clazz) throws com.liferay.portal.kernel.bean.BeanLocatorException
locate in interface com.liferay.portal.kernel.bean.BeanLocatorcom.liferay.portal.kernel.bean.BeanLocatorExceptionpublic Object locate(String name) throws com.liferay.portal.kernel.bean.BeanLocatorException
locate in interface com.liferay.portal.kernel.bean.BeanLocatorcom.liferay.portal.kernel.bean.BeanLocatorExceptionpublic void setPACLServletContextName(String paclServletContextName)
protected <T> Map<String,T> doLocate(Class<T> clazz) throws Exception
Exception