|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(String controllerId)
|
String |
getBeanName()
|
Set |
getControllerIds()
|
Map |
getEventListeners()
|
Object |
getObject()
|
Class |
getObjectType()
|
String |
getPath()
Return the ZK component path to look up. |
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(String name)
|
void |
setControllerIds(Set ids)
|
void |
setEventListeners(Map eventListeners)
|
void |
setPath(String path)
Specify the ZK component path to look up. |
void |
setType(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(Set ids)
public Set getControllerIds()
public boolean isApplied()
public void setPath(String path)
path
- the Component path to look uppublic String getPath()
public void setType(Class expectedType)
public Class getType()
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public 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 IllegalArgumentException, NamingException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
IllegalArgumentException
NamingException
public void setBeanName(String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
public String getBeanName()
public void setEventListeners(Map eventListeners)
public Map getEventListeners()
public void setAfterCompose(org.zkoss.zk.ui.event.EventListener afterCompose)
public org.zkoss.zk.ui.event.EventListener getAfterCompose(String controllerId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |