|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.spring.util.ZkSpringIntegrationContext
public class ZkSpringIntegrationContext
This class provides ThreadLocal storage of context components. Nomally it is
used to set context components prior to injecting child ZK compoents in
subclasses extending GenericComposer
GenericComposer
Constructor Summary | |
---|---|
ZkSpringIntegrationContext()
|
Method Summary | |
---|---|
static void |
clearContextComponent()
Clears context component from ZK CDI integration context that was set prior to ZK component injection |
static org.zkoss.zk.ui.Component |
getContextComponent()
returns current thread's context component |
static org.zkoss.zk.ui.Component |
getSelfContextComponent()
Returns current self context component |
static void |
setContextComponent(org.zkoss.zk.ui.Component component)
Sets context component which is later required for ZK component injection |
static void |
setSelfContextComponent(org.zkoss.zk.ui.Component component)
Sets self context component which is later required for ZK event processing using CDI event notificatio model |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZkSpringIntegrationContext()
Method Detail |
---|
public static org.zkoss.zk.ui.Component getContextComponent()
public static void setContextComponent(org.zkoss.zk.ui.Component component)
component
- parent componentpublic static void clearContextComponent()
public static void setSelfContextComponent(org.zkoss.zk.ui.Component component)
component
- target componentpublic static org.zkoss.zk.ui.Component getSelfContextComponent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |