org.araneaframework
Interface Relocatable

All Superinterfaces:
Serializable
All Known Subinterfaces:
Relocatable.RelocatableComponent, Relocatable.RelocatableService, Relocatable.RelocatableWidget
All Known Implementing Classes:
RelocatableDecorator

public interface Relocatable
extends Serializable

Relocatable is a component that can be relocated from one parent to another. As the Environment of a component is inherited from its parent, and once the parent changes, the new parent's Environment can be different, this class provides Relocatable.Interface.overrideEnvironment(Environment) for resetting the Environment.

This interface should not be used directly, subinterfaces Relocatable.RelocatableComponent, Relocatable.RelocatableService, and Relocatable.RelocatableWidget should be used.

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

Nested Class Summary
static interface Relocatable.Interface
          The Relocatable's main interface that handles the change of Environment.
static interface Relocatable.RelocatableComponent
          An interface for a relocatable Component.
static interface Relocatable.RelocatableService
          An interface for a relocatable Service.
static interface Relocatable.RelocatableWidget
          An interface for a relocatable Widget.
 
Method Summary
 Relocatable.Interface _getRelocatable()
          This method must provide a Relocatable.Interface that will be used to change the Environment of the relocatable component/service/widget.
 

Method Detail

_getRelocatable

public Relocatable.Interface _getRelocatable()
This method must provide a Relocatable.Interface that will be used to change the Environment of the relocatable component/service/widget.

Returns:
An implementation of Relocatable.Interface.