|
XML Registry: Configuration
Configuration Options Related Tasks Related Topics
Use this page to configure an XML registry, in particular to specify the implementation classes that WebLogic Server uses, by default, for the factories used to obtain DOM and SAX parsers and transformers. These classes are used by all applications that run on WebLogic Server.
The values you enter in the fields of this page are used by default by all applications that run on WebLogic Server. If you want to specify a parser factory used for a particular document type (based on system ID, public ID, or root element), go to the Contents tab and create a Parser Select Entry.
Also use this page to specify when WebLogic Server should cache external entities that are referenced with a URL.
Configuration Options
Name Description Name The name of this XML Registry.
MBean Attribute:
XMLRegistryMBean.NameChanges take effect after you redeploy the module or restart the server.
Document Builder Factory The fully qualified name of the class that implements the
DocumentBuilderFactoryinterface.The
javax.xml.parsers.DocumentBuilderFactoryfactory API enables applications deployed to WebLogic Server to obtain an XML parser that produces DOM object trees from XML documents.The built-in WebLogic Server DOM factory implementation class is
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. This is the factory class applications deployed to WebLogic Server get by default when they request a DOM parser. You can change this default by updating this value.Return the class name of the default DocumentBuilderFactory
MBean Attribute:
XMLRegistryMBean.DocumentBuilderFactorySAX Parser Factory The fully qualified name of the class that implements the
SAXParserFactoryinterface.The
javax.xml.parsers.SAXParserFactoryfactory API enables applications deployed to WebLogic Server to configure and obtain a SAX-based XML parser to parse XML documents.The built-in WebLogic Server SAX factory implementation class is
com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl. This is the factory class applications deployed to WebLogic Server get by default when they request a SAX parser. You can change this default by updating this value.Return the class name of the default SAXParserFactory
MBean Attribute:
XMLRegistryMBean.SAXParserFactoryTransformer Factory The fully qualified name of the class that implements the
TransformerFactoryinterface.The
javax.xml.transform.TransformerFactoryfactory API enables applications deployed to WebLogic Server to configure and obtain aTransformerobject used to transform XML data into another format.The built-in WebLogic Server Transformer factory implementation class is
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryIml. This is the factory class applications deployed to WebLogic Server get by default when they request a Transformer object. You can change this default by updating this value.Return the class name of the default TransformerFactory
MBean Attribute:
XMLRegistryMBean.TransformerFactoryXPath Factory The fully qualified name of the class that implements the
XPathFactoryinterface.The
javax.xml.xpath.XPathFactoryfactory API enables applications deployed to WebLogic Server to configure and obtain aXPathobject used to search XML elements.The built-in WebLogic Server XPath factory implementation class is
com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl. This is the factory class applications deployed to WebLogic Server get by default when they request a XPath object. You can change this default by updating this value.Return the class name of the default XPathFactory
MBean Attribute:
XMLRegistryMBean.XpathFactorySchema Factory The fully qualified name of the class that implements the
SchemaFactoryinterface.The
javax.xml.validation.SchemaFactoryfactory API enables applications deployed to WebLogic Server to configure and obtain aSchemaobject used to validate XML document using schema.The built-in WebLogic Server Schema factory implementation class is
com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory. This is the factory class applications deployed to WebLogic Server get by default when they request a Schema object. You can change this default by updating this value.Return the class name of the default SchemaFactory
MBean Attribute:
XMLRegistryMBean.SchemaFactoryXML Input Factory The fully qualified name of the class that implements the
XMLInputFactoryinterface.The
javax.xml.stream.XMLInputFactoryfactory API enables applications deployed to WebLogic Server to configure and obtain aXMLEventReader/XMLStreamReaderobject used to read XML streams.The built-in WebLogic Server XML Input factory implementation class is
com.ctc.wstx.stax.WstxInputFactory. This is the factory class applications deployed to WebLogic Server get by default when they request a XMLEventReader/XMLStreamReader object. You can change this default by updating this value.Return the class name of the default XMLInputFactory
MBean Attribute:
XMLRegistryMBean.XMLInputFactoryXML Output Factory The fully qualified name of the class that implements the
XMLOutputFactoryinterface.The
javax.xml.stream.XMLOutputFactoryfactory API enables applications deployed to WebLogic Server to configure and obtain aXMLEventWriter/XMLStreamWriterobject used to write XML streams.The built-in WebLogic Server XML Output factory implementation class is
com.ctc.wstx.stax.WstxOutputFactory. This is the factory class applications deployed to WebLogic Server get by default when they request a XMLEventWriter/XMLStreamWriter object. You can change this default by updating this value.Return the class name of the default XMLOutputFactory
MBean Attribute:
XMLRegistryMBean.XMLOutputFactoryXML Event Factory The fully qualified name of the class that implements the
XMLEventFactoryinterface.The
javax.xml.stream.XMLEventFactoryfactory API enables applications deployed to WebLogic Server to configure and obtain aXMLEventobject used to parse or build XML streams.The built-in WebLogic Server XMLEvent factory implementation class is
com.ctc.wstx.stax.WstxEventFactory. This is the factory class applications deployed to WebLogic Server get by default when they request a XMLEvent object. You can change this default by updating this value.Return the class name of the default XMLEventFactory
MBean Attribute:
XMLRegistryMBean.XMLEventFactoryWhen To Cache Specifies when WebLogic Server should cache external entities that it retrieves from the Web.
When WebLogic Server resolves an external entity within an XML file and retrieves the entity from the Web, you can specify that WebLogic Server cache this entity only when the entity is first referenced, when WebLogic Server first starts up, or not at all.
MBean Attribute:
XMLRegistryMBean.WhenToCache
| |