Package org.zkoss.zkmax.bind.proxy
Class ProxyHelperEx
java.lang.Object
org.zkoss.zkmax.bind.proxy.ProxyHelperEx
An extension of ProxyHelper to create a proxy cache mechanism.
- Since:
- 8.5.1
- Author:
- jameschu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TcreateViewModelProxy(T origin) Creates a proxy object from view model.
-
Constructor Details
-
ProxyHelperEx
public ProxyHelperEx()
-
-
Method Details
-
createViewModelProxy
public static <T> T createViewModelProxy(T origin) Creates a proxy object from view model.- Parameters:
origin- view model object- Throws:
org.zkoss.zk.ui.UiException- if the class of the view model is sealed, since a proxy cannot subclass it
-