Also: SpringBeans
public interface

Mergeable

org.springframework.beans.Mergeable
Known Indirect Subclasses

Class Overview

Interface representing an object whose value set can be merged with that of a parent object.

Summary

Public Methods
abstract boolean isMergeEnabled()
Is merging enabled for this particular instance?
abstract Object merge(Object parent)
Merge the current value set with that of the supplied object.

Public Methods

public abstract boolean isMergeEnabled ()

Also: SpringBeans

Is merging enabled for this particular instance?

public abstract Object merge (Object parent)

Also: SpringBeans

Merge the current value set with that of the supplied object.

The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object.

Parameters
parent the object to merge with
Returns
  • the result of the merge operation
Throws
IllegalArgumentException if the supplied parent is null
IllegalStateException if merging is not enabled for this instance (i.e. mergeEnabled equals false).