📄 jboss_3_0.dtd
字号:
The resource-env-ref element gives a mapping between the "code name" of a env resource (res-ref-name, provided by the Bean Developer) and its deployed JNDI name. Used in: session, entity, message-driven--><!ELEMENT resource-env-ref (resource-env-ref-name , jndi-name)><!-- The resource-env-ref-name element gives the "code name" of a resource. It is provided by the Bean Developer. Used in: resource-env-ref--><!ELEMENT resource-env-ref-name (#PCDATA)><!-- The clustered element indicates if this bean will run in a cluster of JBoss instances. It is provided by the deployer. If not, jboss will assume clustered = False Possible values: "True", "False" (default) Used in: entity and session--><!ELEMENT clustered (#PCDATA)><!-- The cluster-config element allows to specify cluster specific settings. WARNING: session-state-manager-jndi-name is only for SFSB. Used in: session, entity--><!ELEMENT cluster-config (partition-name? , home-load-balance-policy? , bean-load-balance-policy? ,session-state-manager-jndi-name?)><!-- The partition-name element indicates the name of the HAPartition to be used by the container to exchange clustering information. This is a name and *not* a JNDI name. Given name will be prefixed by "/HASessionState/" by the container to get the actual JNDI name of the HAPartition. If not, jboss will assume partition-name = "DefaultPartition". Used in: entity and session (in clustered-config element)--><!ELEMENT partition-name (#PCDATA)><!-- The home-load-balance-policy element indicates the java class name to be used to load balance calls in the home proxy. If not, jboss will assume home-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin". Used in: entity and session (in clustered-config element)--><!ELEMENT home-load-balance-policy (#PCDATA)><!-- The bean-load-balance-policy element indicates the java class name to be used to load balance calls in the bean proxy. If not, jboss will assume : - for EB and SFSB : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin" - for SLSB : bean-load-balance-policy = "org.jboss.ha.framework.interfaces.RoundRobin" Used in: entity and session (in clustered-config element)--><!ELEMENT bean-load-balance-policy (#PCDATA)><!-- The session-state-manager-jndi-name element indicates the name of the HASessionState to be used by the container as a backend for state session management in the cluster. This *is* a JNDI name (not like the partition-name element). If not, jboss will assume partition-name = "/HASessionState/Default". Used in: session (in clustered-config element)--><!ELEMENT session-state-manager-jndi-name (#PCDATA)><!-- The resource-ref element gives a mapping between the "code name" of a resource (res-ref-name, provided by the Bean Developer) and its "xml name" (resource-name, provided by the Application Assembler). If no resource-ref is provided, jboss will assume that "xml-name" = "code name" See resource-managers. Used in: entity, session, and message-driven--><!ELEMENT resource-ref (res-ref-name , (resource-name | jndi-name | res-url))><!-- The res-ref-name element gives the "code name" of a resource. It is provided by the Bean Developer. See resource-managers for the actual configuration of the resource. Used in: resource-ref--><!ELEMENT res-ref-name (#PCDATA)><!-- The resource-name element gives the "xml name" of the resource. It is provided by the Application Assembler. See resource-managers for the actual configuration of the resource. Used in: resource-ref--><!ELEMENT resource-name (#PCDATA)><!-- The resource-managers element is used to declare resource managers. A resource has 3 names: - the "code name" is the name used in the code of the bean, supplied by the Bean Developer in the resource-ref section of the ejb-jar.xml file - the "xml name" is an intermediary name used by the Application Assembler to identify resources in the XML file. - the "runtime jndi name" is the actual jndi-name or url of the deployed resource, it is supplied by the Deployer. The mapping between the "code name" and the "xml name" is given in the resource-ref section for the bean. If not, jboss will assume that "xml name" = "code name". The mapping between the "xml name" and the "runtime jndi name" is given in a resource-manager section. If not, and if the datasource is of type javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi tree. Used in: jboss--><!ELEMENT resource-managers (resource-manager*)><!-- The resource-manager element is used to provide a mapping between the "xml name" of a resource (res-name) and its "runtime jndi name" (res-jndi-name or res-url according to the type of the resource). If it is not provided, and if the type of the resource is javax.sql.DataSource, jboss will look for a javax.sql.DataSource in the jndi tree. See resource-managers. Used in: resource-managers--><!ELEMENT resource-manager (res-name , (res-jndi-name | res-url))><!-- The res-name element gives the "xml name" of a resource, it is provided by the Application Assembler. See resource-managers. Used in: resource-manager--><!ELEMENT res-name (#PCDATA)><!-- The res-jndi-name element is the "deployed jndi name" of a resource, it is provided by the Deployer. See resource-managers. Used in: resource-manager--><!ELEMENT res-jndi-name (#PCDATA)><!-- The res-url element is the "runtime jndi name" as a url of the resource. It is provided by the Deployer. See resource-managers. Used in: resource-manager--><!ELEMENT res-url (#PCDATA)><!-- The container-configurations element declares the different possible container configurations that the beans can use. standardjboss.xml provides 15 standard configurations with the following container-names: - Standard CMP 2.x EntityBean - Standard CMP EntityBean - Clustered CMP 2.x EntityBean - Clustered CMP EntityBean - IIOP CMP 2.x EntityBean - IIOP CMP EntityBean - jdk 1.2.2 CMP EntityBean - Standard Stateless SessionBean - Clustered Stateless SessionBean - IIOP Stateless SessionBean - jdk 1.2.2 Stateless SessionBean - Standard Stateful SessionBean - Clustered Stateful SessionBean - IIOP Stateful SessionBean - jdk 1.2.2 Stateful SessionBean - Standard BMP EntityBean - Clustered BMP EntityBean - IIOP BMP EntityBean - jdk 1.2.2 BMP EntityBean - Standard message Driven Bean The standard configurations will automatically be used if no custom configuration is specified. The jdk 1.2.2 configurations are defined for backwards compatability. The application assembler can define advanced custom configurations here. Used in: jboss--><!ELEMENT container-configurations (container-configuration*)><!-- The container-configuration element describes a configuration for the container. The different plugins to use are declared here, as well as their configurations. The configuration-class attribute is no longer used. Used in: container-configurations--><!ELEMENT container-configuration (container-name , call-logging? , container-invoker?,home-invoker?, bean-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?, cluster-config?)><!-- The extends attribute gives the container-name value of the configuration the container-configurationis extending. This allows one to specify an extension configuration without having to reiterate all ofthe other duplicate configuration info. <container-configuration extends="Standard Stateful SessionBean"> <container-name>Secure Stateless SessionBean</container-name> <security-domain>java:/jaas/other</security-domain> </container-configuration>--><!ATTLIST container-configuration extends CDATA #IMPLIED><!-- The container-name element gives the name of the configuration being defined. Beans may refer to this name in their configuration-name tag. Used in: container-configuration--><!ELEMENT container-name (#PCDATA)><!-- The call-logging element tells if the container must log every method invocation for this bean or not. Its value must be trus or false. Used in: container-configuration--><!ELEMENT call-logging (#PCDATA)><!-- The container-invoker element gives the class name of the container invoker jboss must use for in this configuration. This class must implement the org.jboss.ejb.ContainerInvoker interface. The default is org.jboss.proxy.ejb.ProxyFactory for entity and session beans and org.jboss.ejb.plugins.jms.JMSContainerInvoker for message driven beans. Containers supporting clustering use org.jboss.proxy.ejb.ProxyFactoryHA. Used in: container-configuration--><!ELEMENT container-invoker (#PCDATA)><!-- The container-interceptors element gives the chain of Interceptors (instances of org.jboss.ejb.Interceptor) that are associated with the container. The declared order of the interceptor elements corresponds to the order of the interceptor chain. Used in: container-configuration--><!ELEMENT container-interceptors (interceptor+)><!-- The client-interceptors defines the home and bean client side interceptor chain Used in: container-configuration--><!ELEMENT client-interceptors (home , bean)><!--The home element gives the chain of interceptors(instances of org.jboss.proxy.Interceptor) that are associated with the homeproxy and operate in the client VM. The declared order of the interceptorelements corresponds to the order of the interceptor chain. Used in: client-interceptors--><!ELEMENT home (interceptor+)><!--The bean element gives the chain of interceptors(instances of org.jboss.proxy.Interceptor) that are associated with the remoteproxy and operate in the client VM. The declared order of the interceptorelements corresponds to the order of the interceptor chain. Used in: client-interceptors--><!ELEMENT bean (interceptor+)><!-- The interceptor element specifies an instance of org.jboss.ejb.Interceptor that is to be added to the container interceptor stack. Used in: container-interceptors--><!ELEMENT interceptor (#PCDATA)><!-- The transaction attribute is used to indicate what type of container its interceptor applies to. It is an enumerated value that can take on one of: Bean, Container or Both. A value of Bean indicates that the interceptor should only be added to a container for bean-managed transaction. A value of Container indicates that the interceptor should only be added to a container for container-managed transactions. A value of Both indicates that the interceptor should be added to all containers. This is the default value if the transaction attribute is not explictlygiven.--><!ATTLIST interceptor transaction (Bean | Container | Both ) "Both"><!--
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -