public final class PortletSupport extends Object
Modifier and Type | Method and Description |
---|---|
static javax.enterprise.inject.spi.BeanManager |
getBeanManager(Object ctx)
Get bean manager from portlet context.
|
static boolean |
isPortletContext(Object ctx)
Is the ctx object instance of portlet context.
|
static boolean |
isPortletEnvSupported()
Is portlet env supported.
|
public static boolean isPortletEnvSupported()
public static boolean isPortletContext(Object ctx)
ctx
- the current contextpublic static javax.enterprise.inject.spi.BeanManager getBeanManager(Object ctx)
ctx
- the portlet contextCopyright © 2016. All rights reserved.