org.inria.ns.reflex.processor.catalog
Class ResourceFound

java.lang.Object
  extended by org.inria.ns.reflex.processor.catalog.ResourceFound
All Implemented Interfaces:
BubbleMessage, Unwrappable

public class ResourceFound
extends Object
implements BubbleMessage

ResourceFound is a bubble message created when a resource has been found in a catalog.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.processor.BubbleMessage
BubbleMessage.Impl
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.structures.Unwrappable
Unwrappable.Unwrapper
 
Field Summary
 Object resource
          The resource found.
 
Fields inherited from interface org.inria.ns.reflex.structures.Unwrappable
UNWRAPPER
 
Constructor Summary
ResourceFound(Object resource)
          Create a wrapper of the resource found.
 
Method Summary
 Object unwrap()
          Return the resource found.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

public Object resource
The resource found.

Constructor Detail

ResourceFound

public ResourceFound(Object resource)
Create a wrapper of the resource found.

Method Detail

unwrap

public Object unwrap()
Return the resource found.

Specified by:
unwrap in interface BubbleMessage
Specified by:
unwrap in interface Unwrappable
Returns:
The object wrapped.
See Also:
BubbleMessage.unwrap()