Annotation Interface Remote.Allowed
- Enclosing class:
Remote
Mark application classes permitted to cross a wire-deserialization
boundary as a polymorphic payload.
At type level, @Remote.Allowed includes the annotated class and,
by default, its declared nested types. Set recursive() to
false to include only the annotated class.
At package level, declare @Remote.Allowed in
package-info.java. The default recursive() value includes
every class in the annotated package and all sub-packages; setting it to
false limits inclusion to classes directly in the annotated
package.
PortableType independently
permits inclusion in generated security-config.xml; either
annotation is sufficient for the build-time generator to add the class.
CLASS retention - scanned at build time by the
security-config-maven-plugin and consumed by the runtime reader from
generated META-INF/coherence/security-config.xml.
- Since:
- 26.04
- Author:
- as 2014.07.16
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanReturn whether nested types or sub-packages are included.
-
Element Details
-
recursive
boolean recursiveReturn whether nested types or sub-packages are included.- Returns:
trueif nested types or sub-packages are included
- Default:
true
-