/** Set the call by value flag for jndi lookups. * * @jmx:managed-attribute * @param flag - true if all lookups are unmarshalled using the caller's TCL, * false if in VM lookups return the value by reference. */ public void setCallByValue(boolean flag) { boolean callByValue = ! flag; MarshalledValuePair.setEnableCallByReference(callByValue); }
/** Set the call by value flag for jndi lookups. * * @param flag - true if all lookups are unmarshalled using the caller's TCL, * false if in VM lookups return the value by reference. */ public void setCallByValue(boolean flag) { boolean callByValue = ! flag; MarshalledValuePair.setEnableCallByReference(callByValue); }