Annotation Interface Reference


@Target({PARAMETER,METHOD,TYPE}) @Retention(RUNTIME) public @interface Reference
Can be used to give objects reference semantics in local and remote calls: - in local calls references are not copied. - in remote calls references are made to proxy objects.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Set the local reference state.
    boolean
    Set the remote reference state.
  • Element Details

    • local

      boolean local
      Set the local reference state.
      Default:
      true
    • remote

      boolean remote
      Set the remote reference state.
      Default:
      true