Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
  * regarding copyright ownership.  The ASF licenses this file
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.    

An invoker or interceptor can optionally implement this interface to indicate if they can enforce the pass-by-value semantics for an operation on remotable interfaces.

$Rev: 634778 $ $Date: 2008-03-07 20:58:16 +0200 (Fri, 07 Mar 2008) $
public interface DataExchangeSemantics {
Indicate if the data can be passed in by reference as they won't be mutated.

true if pass-by-reference is allowed
    boolean allowsPassByReference();
New to GrepCode? Check out our FAQ X