@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Inherited
public @interface ImmutableFields
Immutable
, this annotation can be made as a proxy
object for Form Binding, but not for all its fields.
public class VM { @ImmutableFields public Foo getFoo() {} // this Foo can make as a proxy, but not for its getDate() method. } public class Foo { public Date getDate() {} // this date object cannot make as a proxy. }
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.