|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.spring.bean.ZkComponentFactoryBean
public class ZkComponentFactoryBean
BeanFactory that looks up a ZK component object. Exposes the components created by ZK Ajax framework for Spring bean references, e.g. access ZK components inside Spring beans as a ZK event handling bean.
ZkComponentProxyTargetSource
Constructor Summary | |
---|---|
ZkComponentFactoryBean()
|
|
ZkComponentFactoryBean(boolean applied)
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
org.zkoss.zk.ui.event.EventListener |
getAfterCompose(java.lang.String controllerId)
|
java.lang.String |
getBeanName()
|
java.util.Set |
getControllerIds()
|
java.util.Map |
getEventListeners()
|
java.lang.Object |
getObject()
|
java.lang.Class |
getObjectType()
|
java.lang.String |
getPath()
Return the ZK component path to look up. |
java.lang.Class |
getType()
Return the component class that the found ZK component is supposed to be assignable to, if any. |
boolean |
isApplied()
|
boolean |
isSingleton()
|
void |
setAfterCompose(org.zkoss.zk.ui.event.EventListener afterCompose)
|
void |
setBeanName(java.lang.String name)
|
void |
setControllerIds(java.util.Set ids)
|
void |
setEventListeners(java.util.Map eventListeners)
|
void |
setPath(java.lang.String path)
Specify the ZK component path to look up. |
void |
setType(java.lang.Class expectedType)
Specify the component class that the found ZK component is supposed to be assignable to, if any. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZkComponentFactoryBean()
public ZkComponentFactoryBean(boolean applied)
Method Detail |
---|
public void setControllerIds(java.util.Set ids)
public java.util.Set getControllerIds()
public boolean isApplied()
public void setPath(java.lang.String path)
path
- the Component path to look uppublic java.lang.String getPath()
public void setType(java.lang.Class expectedType)
public java.lang.Class getType()
public java.lang.Object getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
java.lang.Exception
public java.lang.Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public void afterPropertiesSet() throws java.lang.IllegalArgumentException, javax.naming.NamingException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.IllegalArgumentException
javax.naming.NamingException
public void setBeanName(java.lang.String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public java.lang.String getBeanName()
public void setEventListeners(java.util.Map eventListeners)
public java.util.Map getEventListeners()
public void setAfterCompose(org.zkoss.zk.ui.event.EventListener afterCompose)
public org.zkoss.zk.ui.event.EventListener getAfterCompose(java.lang.String controllerId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |