org.araneaframework
Interface Composite

All Superinterfaces:
Serializable
All Known Subinterfaces:
ApplicationComponent, ApplicationService, ApplicationWidget, Composite.CompositeComponent, Composite.CompositeService, Composite.CompositeWidget, LocalizationContext.LocaleChangeListener, TabContext
All Known Implementing Classes:
BaseApplicationComponent, BaseApplicationService, BaseApplicationWidget, RelocatableDecorator, TabWidget

public interface Composite
extends Serializable

Composite is a component with a set of child components. In a Composite children can form a hierarchially having composites as children and so on.

This class should not be directly implemented, but Composite.CompositeComponent, Composite.CompositeService or Composite.CompositeWidget instead.

The Component follows the template pattern by defining _getComposite which returns the implementation.

Author:
"Toomas Römer" , Jevgeni Kabanov (ekabanov at araneaframework dot org)

Nested Class Summary
static interface Composite.CompositeComponent
          A composite component.
static interface Composite.CompositeService
          A composite service.
static interface Composite.CompositeWidget
          A composite widget.
static interface Composite.Interface
          The interface which takes care of calling the hooks in the template.
 
Method Summary
 Composite.Interface _getComposite()
          The factory method returning the implementation of the Composite.
 

Method Detail

_getComposite

public Composite.Interface _getComposite()
The factory method returning the implementation of the Composite.

Returns:
the Composite implementation