org.objectweb.proactive.core.component.xml
Class AbstractContainerComponentHandler

java.lang.Object
  |
  +--org.objectweb.proactive.core.xml.handler.AbstractUnmarshallerDecorator
        |
        +--org.objectweb.proactive.core.component.xml.ComponentHandler
              |
              +--org.objectweb.proactive.core.component.xml.AbstractContainerComponentHandler
All Implemented Interfaces:
ContainerHandlerMarker, UnmarshallerHandler, XMLHandler
Direct Known Subclasses:
CompositeComponentHandler, ParallelCompositeComponentHandler

public abstract class AbstractContainerComponentHandler
extends ComponentHandler
implements ContainerHandlerMarker

This class allows the coherency of the nesting of components (component containers such as composite or parallel components) : only the container handler of level n+1 is involved (whereas with the standard design, the top containing handler receives all the messages)

Author:
Matthieu Morel

Field Summary
 
Fields inherited from class org.objectweb.proactive.core.component.xml.ComponentHandler
cf, componentsCache, componentType, componentTypes, controllerDescription, deploymentDescriptor, logger, typeFactory, virtualNode
 
Constructor Summary
AbstractContainerComponentHandler(ProActiveDescriptor deploymentDescriptor, ComponentsCache componentsCache, java.util.HashMap componentTypes, ComponentsHandler fatherHandler)
           
 
Method Summary
 void disable()
           
 void enable()
           
 ContainerElementHierarchy getContainerElementHierarchy()
          see ContainerHandlerMarker.getContainerElementHierarchy()
 boolean isEnabled()
           
 
Methods inherited from class org.objectweb.proactive.core.component.xml.ComponentHandler
getResultObject, notifyEndActiveHandler, startContextElement
 
Methods inherited from class org.objectweb.proactive.core.xml.handler.AbstractUnmarshallerDecorator
addHandler, checkActiveHandler, checkNonEmpty, endElement, endPrefixMapping, getHandler, readValue, startElement, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractContainerComponentHandler

public AbstractContainerComponentHandler(ProActiveDescriptor deploymentDescriptor,
                                         ComponentsCache componentsCache,
                                         java.util.HashMap componentTypes,
                                         ComponentsHandler fatherHandler)
Parameters:
deploymentDescriptor -
componentsCache -
componentTypes -
Method Detail

enable

public void enable()
Specified by:
enable in interface ContainerHandlerMarker

disable

public void disable()
Specified by:
disable in interface ContainerHandlerMarker

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface ContainerHandlerMarker

getContainerElementHierarchy

public ContainerElementHierarchy getContainerElementHierarchy()
see ContainerHandlerMarker.getContainerElementHierarchy()

Specified by:
getContainerElementHierarchy in interface ContainerHandlerMarker


Copyright © April 2004 INRIA All Rights Reserved.