Created
June 14, 2015 14:37
-
-
Save bmvakili/52aba923bcb2fe46efa6 to your computer and use it in GitHub Desktop.
get all liferay Portal beans
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.liferay.portal.bean.BeanLocatorImpl; | |
import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; | |
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; | |
import com.liferay.portal.kernel.log.Log; | |
import com.liferay.portal.kernel.log.LogFactoryUtil; | |
String[] vals = PortalBeanLocatorUtil.getBeanLocator().getNames(); | |
for (String val : vals) { | |
out.println( val ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment