Revision history [back]

click to hide/show revision 1
initial version

answered 2016-01-04 11:32:49 +0800

cor3000 gravatar image cor3000

You can define the classes you don't want to proxy using this method: E.g. during an WebappInit listener

you can initialize the classes you consider Immutable globally for all forms: https://www.zkoss.org/javadoc/latest/zk/org/zkoss/bind/proxy/ProxyHelper.html#addIgnoredProxyClass(java.lang.Class)

That's where you add e.g. BigDecimal, or your Duration class.

Unfortunately Java doesn't provide a better way to determine Immutable classes

You can define the classes you don't want to proxy using this method: E.g. during an WebappInit listener

you can initialize the classes you consider Immutable globally for all forms: https://www.zkoss.org/javadoc/latest/zk/org/zkoss/bind/proxy/ProxyHelper.html#addIgnoredProxyClass ProxyHelper.addIgnoredProxyClass(Class type)(java.lang.Class)

That's where you add e.g. BigDecimal, or your Duration class.

Unfortunately Java doesn't provide a better way to determine Immutable classes

You can define the classes you don't want to proxy using this method: E.g. during an WebappInit listenermethod:

you can initialize the classes you consider Immutable globally for all forms: ProxyHelper.addIgnoredProxyClass(Class type)

E.g. during an WebappInit listener

That's where you add e.g. BigDecimal, or your Duration class.

Unfortunately Java doesn't provide a better way to determine Immutable classes

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More