edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > XML Registry: Contents: Entity Spec Entries: Configuration

XML Registry: Contents: Entity Spec Entries: Configuration

Configuration Options     Related Tasks     Related Topics

Use this page to view or update the configuration for a particular Entity Spec, such as the URI or pathname of the actual external entity and how WebLogic Server should identify the reference to the external entity inside of an XML file.

When you configure external entity resolution with WebLogic Server, you physically copy the entity files to a directory accessible by the Administration Server and specify that the Administration Server use the local copy whenever the external entity is referenced in an XML document.

You can specify that either the Public ID or System ID be used when the entity is referenced in an XML document. You can also specify when the entity should be cached and when it should be refreshed.

Configuration Options

Name Description
Public ID

The public ID of the external entity.

When WebLogic Server is parsing an XML document and it encounters an external entity with this public ID, WebLogic Server resolves the entity (to either a local file or a URL resource) according to the values set for this Entity spec entry.

MBean Attribute:
XMLEntitySpecRegistryEntryMBean.PublicId

System ID

The system ID of the external entity.

When WebLogic Server is parsing an XML document and it encounters an external entity with this system ID, WebLogic Server resolves the entity (to either a local file or a URL resource) according to the values set for this Entity spec entry.

MBean Attribute:
XMLEntitySpecRegistryEntryMBean.SystemId

Entity URI

The location of the external entity, either a pathname or URI.

The location of the external entity can be either a pathname relative to the XML Registry directories, reachable by the Administration Server, or a URI of the entity location in some local repository.

MBean Attribute:
XMLEntitySpecRegistryEntryMBean.EntityURI

When To Cache

Specifies when WebLogic Server should cache the external entities it retrieves from the Web.

WebLogic Server can cache the entities when they are referenced, as soon as possible (that is, on initialization) or never. Additionally, WebLogic Server can defer to the XML registry's cache setting.

MBean Attribute:
XMLEntitySpecRegistryEntryMBean.WhenToCache

Cache Timeout Interval

Specifies the default timeout interval (in seconds) of the external entity cache.

A value of -1 means that the entity entity cache timeout interval defers to the one specified for the XML registry of which this Entity Spec entry is a part.

MBean Attribute:
XMLEntitySpecRegistryEntryMBean.CacheTimeoutInterval

Minimum value: -1

Related Tasks

Related Topics