📄 jboss_3_0.dtd
字号:
<?xml version='1.0' encoding='UTF-8' ?><!--Generated by XML Authority--><!--This is the XML DTD for the JBoss 3.0 EJB deployment descriptor.The DOCTYPE is: <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">$Id: jboss_3_0.dtd,v 1.5.2.4 2002/08/24 00:39:47 starksm Exp $$Revision: 1.5.2.4 $Overview of the architecture of jboss.xml<jboss> <enforce-ejb-restrictions /> <security-domain /> <unauthenticated-principal /> <enterprise-beans> <entity> <ejb-name /> <jndi-name /> <local-jndi-name /> <read-only> <home-invoker> <bean-invoker> <configuration-name> <security-proxy> <ejb-ref> <resource-ref> <res-ref-name /> <resource-name /> </resource-ref> <resource-env-ref> <clustered /> <cluster-config> </entity> <session> <ejb-name /> <jndi-name /> <local-jndi-name /> <home-invoker> <bean-invoker> <configuration-name> <security-proxy> <ejb-ref> <resource-ref> <res-ref-name /> <resource-name /> </resource-ref> <resource-env-ref> <clustered /> <cluster-config> </session> <message-driven> <ejb-name> <destination-jndi-name> <mdb-user> <mdb-passwd> <mdb-client-id> <mdb-subscription-id> <configuration-name> <security-proxy> <ejb-ref> <resource-ref> <resource-env-ref> </message-driven> </enterprise-beans> <resource-managers> <resource-manager> <res-name /> <res-jndi-name /> </resource-manager> <resource-manager> <res-name /> <res-url /> </resource-manager> </resource-managers> <container-configurations> <container-configuration> <container-name /> <container-invoker /> <container-interceptors /> <client-interceptors /> <instance-pool /> <instance-cache /> <persistence-manager /> <transaction-manager /> <web-class-loader /> <locking-policy /> <container-invoker-conf /> <container-cache-conf /> <container-pool-conf /> <commit-option /> <optiond-refresh-rate /> <security-domain/> </container-configuration> </container-configurations></jboss>--><!-- The jboss element is the root element of the jboss.xml file. It contains all the information used by jboss but not described in the ejb-jar.xml file. All of it is optional. 1- the application assembler can define custom container configurations for the beans. Standard configurations are provided in standardjboss.xml 2- the deployer can override the jndi names under which the beans are deployed 3- the deployer can specify runtime jndi names for resource managers.--><!ELEMENT jboss (enforce-ejb-restrictions? , security-domain? , unauthenticated-principal? , enterprise-beans? , resource-managers? , container-configurations?)><!-- The enforce-ejb-restrictions element tells the container to enforce ejb1.1 restrictions It must be one of the following : <enforce-ejb-restrictions>true</enforce-ejb-restrictions> <enforce-ejb-restrictions>false</enforce-ejb-restrictions> Used in: jboss--><!ELEMENT enforce-ejb-restrictions (#PCDATA)><!-- The security-domain element specifies the JNDI name of the security manager that implements the EJBSecurityManager and RealmMapping for the domain. When specified at the jboss level it specifies the security domain for all j2ee components in the deployment unit. One can override the global security-domain at the container level using the security-domain element at the container-configuration level. Used in: jboss, container-configuration--><!ELEMENT security-domain (#PCDATA)><!-- The unauthenticated-principal element specifies the name of the principal that will be returned by the EJBContext.getCallerPrincipal() method if there is no authenticated user. This Principal has no roles or privaledges to call any other beans.--><!ELEMENT unauthenticated-principal (#PCDATA)><!-- The enterprise-beans element contains additional information about the beans. These informations, such as jndi names, resource managers and container configurations, are specific to jboss and not described in ejb-jar.xml. jboss will provide a standard behaviour if no enterprise-beans element is found, see container-configurations, jndi-name and resource-managers for defaults. Used in: jboss--><!ELEMENT enterprise-beans (session | entity | message-driven)+><!-- The entity element holds information specific to jboss and not declared in ejb-jar.xml about an entity bean, such as jndi name, container configuration, and resource managers. (see tags for details) The bean should already be declared in ejb-jar.xml, with the same ejb-name. Used in: enterprise-beans--><!ELEMENT entity (ejb-name , jndi-name? , local-jndi-name? , read-only? , home-invoker? , bean-invoker? ,configuration-name? , security-proxy? , ejb-ref* , resource-ref* , resource-env-ref* ,clustered? , cluster-config?)><!-- The session element holds information specific to jboss and not declared in ejb-jar.xml about a session bean, such as jndi name, container configuration, and resource managers. (see tags for details) The bean should already be declared in ejb-jar.xml, with the same ejb-name. Used in: enterprise-beans--><!ELEMENT session (ejb-name , jndi-name? , local-jndi-name? , home-invoker? , bean-invoker? ,configuration-name? , security-proxy? , ejb-ref* , resource-ref* , resource-env-ref* ,clustered? , cluster-config?)><!-- The message-driven element holds information specific to jboss and not declared in ejb-jar.xml about a message-driven bean, such as container configuration and resources. The bean should already be declared in ejb-jar.xml, with the same ejb-name. Used in: enterprise-beans--><!ELEMENT message-driven (ejb-name , destination-jndi-name , mdb-user? , mdb-passwd? , mdb-client-id?,mdb-subscription-id? , configuration-name? , security-proxy? , ejb-ref* , resource-ref* ,resource-env-ref*)><!-- The ejb-name element gives the name of the bean, it must correspond to an ejb-name element in ejb-jar.xml Used in: entity, session, and message-driven--><!ELEMENT ejb-name (#PCDATA)><!-- The jndi-name element gives the actual jndi name under which the bean will be deployed when used in the entity, session and message-driven elements. If it is not provided jboss will assume "jndi-name" = "ejb-name" When used in the ejb-ref, resource-ref, resource-env-ref elements this specifies the jndi name to which the reference should link. Used in: entity, session and message-driven ejb-ref, resource-ref, resource-env-ref --><!ELEMENT jndi-name (#PCDATA)><!-- The JNDI name under with the local home interface should be bound Used in: entity and session --><!ELEMENT local-jndi-name (#PCDATA)><!-- The read-only element flags an entity bean as read only. The bean will never be ejbStored. Defaults to false. It must be one of the following : <read-only>true</read-only> <read-only>false</read-only> Used in: entity--><!ELEMENT read-only (#PCDATA)><!-- The home-invoker and bean-invoker elements define the Invoker MBean to use for Home Proxies and Bean Proxies. When specified at the container configuration level this specifies the default invoker for all beans using the container configuration. Used in: container-configuration, entity and session--><!ELEMENT home-invoker (#PCDATA)><!ELEMENT bean-invoker (#PCDATA)><!-- The configuration-name element gives the name of the container configuration for this bean. It must match one of the container-name tags in the container-configurations section, or one of the standard configurations. If no element is provided, jboss will automatically use the right standard configuration, see container-configurations. Note: unlike earlier releases, this element may not be specified as an empty element to achieve the same effect as not specifying the element. Used in: entity, session, and message-driven--><!ELEMENT configuration-name (#PCDATA)><!ELEMENT destination-jndi-name (#PCDATA)><!ELEMENT mdb-user (#PCDATA)><!ELEMENT mdb-passwd (#PCDATA)><!ELEMENT mdb-client-id (#PCDATA)><!ELEMENT mdb-subscription-id (#PCDATA)><!-- The security-proxy gives the class name of the security proxy implementation. This may be an instance of org.jboss.security.SecurityProxy, or an just an object that implements methods in the home or remote interface of an EJB without implementating any common interface. Used in: entity, session, and message-driven--><!ELEMENT security-proxy (#PCDATA)><!-- The ejb-ref element is used to give the jndi-name of an external ejb reference. In the case of an external ejb reference, you don't provide a ejb-link element in ejb-jar.xml, but you provide a jndi-name in jboss.xml Used in: entity, session, and message-driven--><!ELEMENT ejb-ref (ejb-ref-name , jndi-name)><!-- The ejb-ref-name element is the name of the ejb reference as given in ejb-jar.xml. Used in: ejb-ref--><!ELEMENT ejb-ref-name (#PCDATA)><!--
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -