Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

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.Name

Changes take effect after you redeploy the module or restart the server.

Document Builder Factory

The fully qualified name of the class that implements the DocumentBuilderFactory interface.

The javax.xml.parsers.DocumentBuilderFactory factory 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.DocumentBuilderFactory

SAX Parser Factory

The fully qualified name of the class that implements the SAXParserFactory interface.

The javax.xml.parsers.SAXParserFactory factory 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.SAXParserFactory

Transformer Factory

The fully qualified name of the class that implements the TransformerFactory interface.

The javax.xml.transform.TransformerFactory factory API enables applications deployed to WebLogic Server to configure and obtain a Transformer object 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.TransformerFactory

XPath Factory

The fully qualified name of the class that implements the XPathFactory interface.

The javax.xml.xpath.XPathFactory factory API enables applications deployed to WebLogic Server to configure and obtain a XPath object 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.XpathFactory

Schema Factory

The fully qualified name of the class that implements the SchemaFactory interface.

The javax.xml.validation.SchemaFactory factory API enables applications deployed to WebLogic Server to configure and obtain a Schema object 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.SchemaFactory

XML Input Factory

The fully qualified name of the class that implements the XMLInputFactory interface.

The javax.xml.stream.XMLInputFactory factory API enables applications deployed to WebLogic Server to configure and obtain a XMLEventReader/XMLStreamReader object 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.XMLInputFactory

XML Output Factory

The fully qualified name of the class that implements the XMLOutputFactory interface.

The javax.xml.stream.XMLOutputFactory factory API enables applications deployed to WebLogic Server to configure and obtain a XMLEventWriter/XMLStreamWriter object 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.XMLOutputFactory

XML Event Factory

The fully qualified name of the class that implements the XMLEventFactory interface.

The javax.xml.stream.XMLEventFactory factory API enables applications deployed to WebLogic Server to configure and obtain a XMLEvent object 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.XMLEventFactory

When 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

Related Tasks

Related Topics


Back to Top