edu.UCL.satin.arch.components
Class Reflective

java.lang.Object
  extended byedu.UCL.satin.arch.components.Component
      extended byedu.UCL.satin.arch.components.Reflective
All Implemented Interfaces:
ComponentFacet, Facet
Direct Known Subclasses:
Container, Deployer

public abstract class Reflective
extends Component

Represents a reflective component

Author:
Stefanos Zachariadis

Field Summary
static short ACCEPT
           
static short FAIL
           
static short HANDLER_INSTANTIATION
           
static short PARTIAL_ACCEPT
           
static short REJECT
           
 
Fields inherited from class edu.UCL.satin.arch.components.Component
immutable, properties
 
Fields inherited from interface edu.UCL.satin.arch.facets.ComponentFacet
DISABLED, ENABLED
 
Constructor Summary
Reflective(java.lang.Object id)
           
 
Method Summary
abstract  short acceptLMU(LMU lmu)
          Allows the Reflective component to inspect a given LMU and receive parts of it
 
Methods inherited from class edu.UCL.satin.arch.components.Component
addAttribute, construct, destroy, getAttribute, getProperties, hasAttribute, isEnabled, match, setEnabled, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FAIL

public static short FAIL

REJECT

public static short REJECT

ACCEPT

public static short ACCEPT

PARTIAL_ACCEPT

public static short PARTIAL_ACCEPT

HANDLER_INSTANTIATION

public static short HANDLER_INSTANTIATION
Constructor Detail

Reflective

public Reflective(java.lang.Object id)
Method Detail

acceptLMU

public abstract short acceptLMU(LMU lmu)
Allows the Reflective component to inspect a given LMU and receive parts of it

Parameters:
lmu - received which is targetted at this component
Returns:
true, if this component accepted all or parts of the lmu, false if the lmu was rejected