public MarshalledValuePair run() throws Exception { return new MarshalledValuePair(obj); } }
/** Get the call by value flag for jndi lookups. * * @return true if all lookups are unmarshalled using the caller's TCL, * false if in VM lookups return the value by reference. */ public boolean getCallByValue() { return MarshalledValuePair.getEnableCallByReference() == false; } /** Set the call by value flag for jndi lookups.
/** 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); }
MarshalledValuePair marshalledProxy = new MarshalledValuePair(proxy); return marshalledProxy.get();
Object storedObj = mvp.get(); return getObjectInstanceWrapFailure(storedObj, name, refEnv);
obj = ((MarshalledValuePair) obj).get();
/** 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); }
/** Get the call by value flag for jndi lookups. * * @jmx:managed-attribute * @return true if all lookups are unmarshalled using the caller's TCL, * false if in VM lookups return the value by reference. */ public boolean getCallByValue() { return MarshalledValuePair.getEnableCallByReference() == false; } /** Set the call by value flag for jndi lookups.
return new MarshalledValuePair(obj); mvp = new MarshalledValuePair(obj);