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

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

public class CompositeComponentHandler
extends AbstractContainerComponentHandler

Author:
Matthieu Morel

Field Summary
static org.apache.log4j.Logger logger
           
 
Fields inherited from class org.objectweb.proactive.core.component.xml.ComponentHandler
cf, componentsCache, componentType, componentTypes, controllerDescription, deploymentDescriptor, typeFactory, virtualNode
 
Constructor Summary
CompositeComponentHandler(ProActiveDescriptor deploymentDescriptor, ComponentsCache componentsCache, java.util.HashMap componentTypes, ComponentsHandler fatherHandler)
           
 
Method Summary
 java.lang.Object getResultObject()
          see UnmarshallerHandler.getResultObject()
protected  void notifyEndActiveHandler(java.lang.String name, UnmarshallerHandler activeHandler)
          see AbstractUnmarshallerDecorator.notifyEndActiveHandler(java.lang.String, org.objectweb.proactive.core.xml.handler.UnmarshallerHandler)
 void startContextElement(java.lang.String name, Attributes attributes)
          see UnmarshallerHandler.startContextElement(java.lang.String, org.objectweb.proactive.core.xml.io.Attributes)
 
Methods inherited from class org.objectweb.proactive.core.component.xml.AbstractContainerComponentHandler
disable, enable, getContainerElementHierarchy, isEnabled
 
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
 

Field Detail

logger

public static org.apache.log4j.Logger logger
Constructor Detail

CompositeComponentHandler

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

notifyEndActiveHandler

protected void notifyEndActiveHandler(java.lang.String name,
                                      UnmarshallerHandler activeHandler)
                               throws org.xml.sax.SAXException
see AbstractUnmarshallerDecorator.notifyEndActiveHandler(java.lang.String, org.objectweb.proactive.core.xml.handler.UnmarshallerHandler)

Overrides:
notifyEndActiveHandler in class ComponentHandler
org.xml.sax.SAXException

getResultObject

public java.lang.Object getResultObject()
                                 throws org.xml.sax.SAXException
see UnmarshallerHandler.getResultObject()

Specified by:
getResultObject in interface UnmarshallerHandler
Overrides:
getResultObject in class ComponentHandler
Returns:
the object resulting of the processing of the SAX events or null
Throws:
org.xml.sax.SAXException - if the state of the handler does not allow to return any resulting object.

startContextElement

public void startContextElement(java.lang.String name,
                                Attributes attributes)
                         throws org.xml.sax.SAXException
see UnmarshallerHandler.startContextElement(java.lang.String, org.objectweb.proactive.core.xml.io.Attributes)

Specified by:
startContextElement in interface UnmarshallerHandler
Overrides:
startContextElement in class ComponentHandler
Parameters:
name - the name of the element just opened
attributes - the attributes of this element
Throws:
org.xml.sax.SAXException - if an exception occur during processing


Copyright © April 2004 INRIA All Rights Reserved.