All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.beans.AggregateObject
The AggregageObject class, is an abstract base class used to aid in the creation of "pure" Aggregate classes.
A "pure" aggregate class, is defined as a concrete subclass of this base class that exhibits ALL of its client semantics via the Aggregation mechansiam.
This abstract base class provides a simple "factory" implementation that allows the implementation of a "pure" aggregate to be named, and thus subsequently accessable to Java. In addition, this class also provides default implementation for the Aggregate interface methods.
Requests this Aggregate for an instance of a delegate of the requested type without delegating the request out to any nested Aggregate.
Returns the enumeration of types this Aggregate can delegate without delegating the request out to any nested Aggregate.
public AggregateObject()
public AggregateObject(Aggregate outer)
public static Aggregate instantiate(Class c, Aggregate aggregate) throws InstantiationException
protected final Aggregate getAggregate()
public final Aggregate getInstanceOf(Class delegateInterface)
public final boolean isInstanceOf(Class delegateInterface)
public final Enumeration getTypes()
public abstract Aggregate getDelegateInstanceOf(Class DelegateClass)
Requests this Aggregate for an instance of a delegate of the requested type without delegating the request out to any nested Aggregate. This method shall only be called by nesting Aggregates, and is not intended to be used by clients of this Aggregate.
public abstract Enumeration getDelegateTypes()
Returns the enumeration of types this Aggregate can delegate without delegating the request out to any nested Aggregate. This method shall only be called by nesting Aggregates, and is not intended to be used by clients of this Aggregate.
All Packages Class Hierarchy This Package Previous Next Index