org.araneaframework
Interface Relocatable.Interface

All Superinterfaces:
Serializable
All Known Implementing Classes:
RelocatableDecorator.RelocatableComponentImpl
Enclosing interface:
Relocatable

public static interface Relocatable.Interface
extends Serializable

The Relocatable's main interface that handles the change of Environment.


Method Summary
 Environment getCurrentEnvironment()
          Provides access to the current Environment of the relocatable component.
 void overrideEnvironment(Environment newEnv)
          Overrides the current Environment with newEnv.
 

Method Detail

overrideEnvironment

public void overrideEnvironment(Environment newEnv)
Overrides the current Environment with newEnv.

Parameters:
newEnv - The new Environment.

getCurrentEnvironment

public Environment getCurrentEnvironment()
Provides access to the current Environment of the relocatable component.

Returns:
The current Environment of the relocatable component.