/** * Check whether the Object can be distributed. * The object is always distributable, if the cluster manager * decides to never distribute it. * @param name The name of the attribute to check * @param value The value of the attribute to check * @return true if the attribute is distributable, false otherwise */ @Override protected boolean isAttributeDistributable(String name, Object value) { if (manager instanceof ClusterManagerBase && !((ClusterManagerBase)manager).willAttributeDistribute(name)) return true; return super.isAttributeDistributable(name, value); }
/** * Check whether the Object can be distributed. * The object is always distributable, if the cluster manager * decides to never distribute it. * @param name The name of the attribute to check * @param value The value of the attribute to check * @return true if the attribute is distributable, false otherwise */ @Override protected boolean isAttributeDistributable(String name, Object value) { if (manager instanceof ClusterManagerBase && !((ClusterManagerBase)manager).willAttributeDistribute(name)) return true; return super.isAttributeDistributable(name, value); }
if (value == null) { continue; } else if (isAttributeDistributable(keys[i], value) && !exclude(keys[i], value)) { saveNames.add(keys[i]); saveValues.add(value);
if (value == null) { continue; } else if (isAttributeDistributable(keys[i], value) && !exclude(keys[i], value)) { saveNames.add(keys[i]); saveValues.add(value);
"standardSession.setAttribute.ise", getIdInternal())); if ((manager != null) && manager.getDistributable() && !isAttributeDistributable(name, value)) throw new IllegalArgumentException (sm.getString("standardSession.setAttribute.iae", name));
"standardSession.setAttribute.ise", getIdInternal())); if ((manager != null) && manager.getDistributable() && !isAttributeDistributable(name, value)) throw new IllegalArgumentException (sm.getString("standardSession.setAttribute.iae", name));
"standardSession.setAttribute.ise", getIdInternal())); if ((manager != null) && manager.getDistributable() && !isAttributeDistributable(name, value)) throw new IllegalArgumentException (sm.getString("standardSession.setAttribute.iae", name));
!isAttributeDistributable(name, value) && !exclude(name, value)) { throw new IllegalArgumentException( sm.getString("standardSession.setAttribute.iae", name));
!isAttributeDistributable(name, value) && !exclude(name, value)) { throw new IllegalArgumentException( sm.getString("standardSession.setAttribute.iae", name));