bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

WebLogic Server Configuration Reference

 Previous Next Contents Index View as PDF  

XMLEntitySpecRegistryEntry

Description

This is an entry in the XML registry. An XML registry entry is configuration information associated with a particular XML document type. Entries accessed through this interface are used to specify a local instance for a remote entity reference. For this type of registry entry the document type is identified by either or both of: 1) a public ID (e.g, "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" 2) a system ID (e.g, "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd") This configuration information is used by the WebLogic JAXP implementation to set up SAX EntityResolvers.

Syntax

<!ELEMENT XMLEntitySpecRegistryEntry EMPTY >
<!ATTLIST XMLEntitySpecRegistryEntry
   CacheTimeoutInterval       CDATA                    "-1"
   EntityURI                  CDATA                    #IMPLIED
   Name                       CDATA                    #REQUIRED
   Notes                      CDATA                    #IMPLIED
   PublicId                   CDATA                    #IMPLIED
   SystemId                   CDATA                    #IMPLIED
   WhenToCache                (cache-on-reference |
                               cache-at-initialization |
                               cache-never |
                               defer-to-registry-setting)
                                                    "defer-to-registry-setting"
>

Parent Elements

The XMLEntitySpecRegistryEntry element is a child of the XMLRegistry element.

Attributes

Table 93-1 XMLEntitySpecRegistryEntryMBean Element Attributes

Attribute

Description

Range of Values and Default

Console Label

Cache-Timeout-Interval

The default timeout interval in seconds for the cache. A value of -1 causes this value to be delegated from the cache MBean.

Default: -1

Minimum: -1

Cache Timeout Interval

Entity-URI

The location of a local copy of an external entity (e.g., a DTD) that is associated with this registry entry. The location is either a pathname relative to one of the XML registry directories of the installation, or is a URI of the entity location in some local repository (e.g. dbms).


Entity-URI

Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.


Name

Notes

Optional information that you can include to describe this configuration.


Notes

Public-Id

The public id of the document type represented by this registry entry.


Public Id

System-Id

The system id of the document type represented by this registry entry.


System Id

When-To-Cache

Set whether to cache this item as soon as possible or wait until it is referenced.

Default: "defer-to-registry-setting"

Valid values:

  • "cache-on-reference"

  • "cache-at-initialization"

  • "cache-never"

  • "defer-to-registry-setting"

When To Cache


 

 

Back to Top Previous Next