org.inria.ns.reflex.processor
Interface BubbleMessage

All Superinterfaces:
Unwrappable
All Known Implementing Classes:
BubbleMessage.Impl, ResourceFound

public interface BubbleMessage
extends Unwrappable

A bubble message is a special data that feeds a context, to be used by a specific target. If a specific data can't implement this interface, it can be wrapped inside the bubble message.

Author:
Philippe Poulard

Nested Class Summary
static class BubbleMessage.Impl
          A default implementation.
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.structures.Unwrappable
Unwrappable.Unwrapper
 
Field Summary
 
Fields inherited from interface org.inria.ns.reflex.structures.Unwrappable
UNWRAPPER
 
Method Summary
 Object unwrap()
          The data wrapped by this message.
 

Method Detail

unwrap

Object unwrap()
The data wrapped by this message.

Specified by:
unwrap in interface Unwrappable
Returns:
this if this object implements this interface ; the object wrapped by this bubble message otherwise.