/** * INTERNAL: * Extract and return the appropriate value from the * specified remote value holder. */ public Object getValueFromRemoteValueHolder(RemoteValueHolder remoteValueHolder) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "getValueFromRemoteValueHolder"); }
/** * INTERNAL * Replace the client value holder with the server value holder, * after copying some of the settings from the client value holder. */ public void mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, org.eclipse.persistence.internal.sessions.MergeManager mergeManager) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "mergeRemoteValueHolder"); }
/** * INTERNAL: * Extract and return the appropriate value from the * specified remote value holder. */ public Object getValueFromRemoteValueHolder(RemoteValueHolder remoteValueHolder) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "getValueFromRemoteValueHolder"); }
/** * INTERNAL * Replace the client value holder with the server value holder, * after copying some of the settings from the client value holder. */ public void mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, org.eclipse.persistence.internal.sessions.MergeManager mergeManager) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "mergeRemoteValueHolder"); }
/** * INTERNAL * Replace the client value holder with the server value holder, * after copying some of the settings from the client value holder. */ public void mergeRemoteValueHolder(Object clientSideDomainObject, Object serverSideDomainObject, org.eclipse.persistence.internal.sessions.MergeManager mergeManager) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "mergeRemoteValueHolder"); }
/** * INTERNAL: * Extract and return the appropriate value from the * specified remote value holder. */ public Object getValueFromRemoteValueHolder(RemoteValueHolder remoteValueHolder) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "getValueFromRemoteValueHolder"); }
/** * Build a conatiner with the initialized constructor. * @see initializeContainer */ protected IndirectContainer buildContainer(ValueHolderInterface valueHolder) { try { IndirectContainer container = null; if (getContainerConstructor().getParameterTypes().length == 0) { if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){ container = (IndirectContainer)AccessController.doPrivileged(new PrivilegedInvokeConstructor(getContainerConstructor(), new Object[0])); }else{ container = (IndirectContainer)PrivilegedAccessHelper.invokeConstructor(getContainerConstructor(), new Object[0]); } container.setValueHolder(valueHolder); } else { if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){ container = (IndirectContainer)AccessController.doPrivileged(new PrivilegedInvokeConstructor(getContainerConstructor(), new Object[] { valueHolder })); }else{ container = (IndirectContainer)PrivilegedAccessHelper.invokeConstructor(getContainerConstructor(), new Object[] { valueHolder }); } } return container; } catch (Exception exception) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "buildContainer constructor (" + getContainerConstructor() + ") Failed: " + exception); } }
/** * Build a conatiner with the initialized constructor. * @see initializeContainer */ protected IndirectContainer buildContainer(ValueHolderInterface valueHolder) { try { IndirectContainer container = null; if (getContainerConstructor().getParameterTypes().length == 0) { if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){ container = (IndirectContainer)AccessController.doPrivileged(new PrivilegedInvokeConstructor(getContainerConstructor(), new Object[0])); }else{ container = (IndirectContainer)PrivilegedAccessHelper.invokeConstructor(getContainerConstructor(), new Object[0]); } container.setValueHolder(valueHolder); } else { if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){ container = (IndirectContainer)AccessController.doPrivileged(new PrivilegedInvokeConstructor(getContainerConstructor(), new Object[] { valueHolder })); }else{ container = (IndirectContainer)PrivilegedAccessHelper.invokeConstructor(getContainerConstructor(), new Object[] { valueHolder }); } } return container; } catch (Exception exception) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "buildContainer constructor (" + getContainerConstructor() + ") Failed: " + exception); } }
/** * Build a conatiner with the initialized constructor. * @see initializeContainer */ protected IndirectContainer buildContainer(ValueHolderInterface valueHolder) { try { IndirectContainer container = null; if (getContainerConstructor().getParameterTypes().length == 0) { if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){ container = (IndirectContainer)AccessController.doPrivileged(new PrivilegedInvokeConstructor(getContainerConstructor(), new Object[0])); }else{ container = (IndirectContainer)PrivilegedAccessHelper.invokeConstructor(getContainerConstructor(), new Object[0]); } container.setValueHolder(valueHolder); } else { if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){ container = (IndirectContainer)AccessController.doPrivileged(new PrivilegedInvokeConstructor(getContainerConstructor(), new Object[] { valueHolder })); }else{ container = (IndirectContainer)PrivilegedAccessHelper.invokeConstructor(getContainerConstructor(), new Object[] { valueHolder }); } } return container; } catch (Exception exception) { throw DescriptorException.invalidIndirectionPolicyOperation(this, "buildContainer constructor (" + getContainerConstructor() + ") Failed: " + exception); } }