Annotation Type 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 local
      Set the local reference state.
      boolean remote
      Set the remote reference state.
    • Element Detail

      • local

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

        boolean remote
        Set the remote reference state.
        Default:
        true