org.apache.muse.core.descriptor
Class SimpleRouterDescriptor
java.lang.Object
org.apache.muse.core.descriptor.SimpleRouterDescriptor
- All Implemented Interfaces:
- RouterDescriptor, XmlSerializable
- Direct Known Subclasses:
- OSGiRouterDescriptor
public class SimpleRouterDescriptor
- extends Object
- implements RouterDescriptor
- Author:
- Dan Jemiolo (danj)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRouterDescriptor
public SimpleRouterDescriptor()
createInitParamDescriptor
protected InitParamDescriptor createInitParamDescriptor()
createLogFile
protected File createLogFile(Element logging,
Environment env)
createLogging
protected LoggingConfig createLogging(Element xml,
Environment env)
createLoggingConfig
protected LoggingConfig createLoggingConfig()
createLogLevel
protected Level createLogLevel(Element logging)
createPersistence
protected PersistenceDefinition createPersistence(Element xml,
Environment env)
throws SoapFault
- Throws:
SoapFault
createPersistenceDescriptor
protected PersistenceDescriptor createPersistenceDescriptor()
createRouterClass
protected Class createRouterClass(Element xml,
Environment env)
getRouterDefinition
public RouterDefinition getRouterDefinition()
- Specified by:
getRouterDefinition
in interface RouterDescriptor
load
public void load(Element xml,
Environment environment)
throws SoapFault
- Specified by:
load
in interface RouterDescriptor
- Throws:
SoapFault
setRouterDefinition
public void setRouterDefinition(RouterDefinition definition)
- Specified by:
setRouterDefinition
in interface RouterDescriptor
toXML
public Element toXML()
- Description copied from interface:
XmlSerializable
- Converts this object into an XML representation, as defined by its
related schema or specification. The format of the XML is dependent
on the concrete type.
- Specified by:
toXML
in interface XmlSerializable
- Returns:
- An XML representation of this object.
toXML
public Element toXML(Document doc)
- Description copied from interface:
XmlSerializable
- Converts this object into an XML representation, as defined by its
related schema or specification. The format of the XML is dependent
on the concrete type.
- Specified by:
toXML
in interface XmlSerializable
- Parameters:
doc
- The DOM Document that will be used to create all of the nodes
in the resulting XML fragment.
- Returns:
- An XML representation of this object.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.