org.objectweb.proactive.core.component.config
Class ComponentConfigurationHandler
java.lang.Object
org.objectweb.proactive.core.xml.handler.AbstractUnmarshallerDecorator
org.objectweb.proactive.core.component.config.ComponentConfigurationHandler
- All Implemented Interfaces:
- ComponentConfigurationConstants, UnmarshallerHandler, XMLHandler
- public class ComponentConfigurationHandler
- extends AbstractUnmarshallerDecorator
- implements ComponentConfigurationConstants
A handler for parsing the xml component configuration.
- Author:
- Matthieu Morel
Field Summary |
static org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.apache.log4j.Logger logger
ComponentConfigurationHandler
public ComponentConfigurationHandler()
getInputInterceptors
public java.util.List getInputInterceptors()
getOutputInterceptors
public java.util.List getOutputInterceptors()
getControllers
public java.util.Map getControllers()
createComponentConfigurationHandler
public static ComponentConfigurationHandler createComponentConfigurationHandler(java.lang.String componentsConfigurationLocation)
throws java.io.IOException,
org.xml.sax.SAXException,
ProActiveException
- Throws:
java.io.IOException
org.xml.sax.SAXException
ProActiveException
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)
- Specified by:
notifyEndActiveHandler
in class AbstractUnmarshallerDecorator
- Throws:
org.xml.sax.SAXException
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
- Parameters:
name
- the name of the element just openedattributes
- the attributes of this element
- Throws:
org.xml.sax.SAXException
- if an exception occur during processing
getResultObject
public java.lang.Object getResultObject()
throws org.xml.sax.SAXException
- Description copied from interface:
UnmarshallerHandler
- Returns the object resulting of the processing of the SAX events.
- Specified by:
getResultObject
in interface UnmarshallerHandler
- 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.
Copyright 2001-2005 INRIA All Rights Reserved.