User: stark
Date: 01/01/29 17:11:01
Modified: src/resources/org/jboss/metadata jboss.dtd
Log:
Added the container-interceptors and interceptor elements.
Revision Changes Path
1.2 +40 -7 jboss/src/resources/org/jboss/metadata/jboss.dtd
Index: jboss.dtd
===================================================================
RCS file: /products/cvs/ejboss/jboss/src/resources/org/jboss/metadata/jboss.dtd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jboss.dtd 2001/01/28 09:01:52 1.1
+++ jboss.dtd 2001/01/30 01:11:00 1.2
@@ -1,7 +1,5 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!--Generated by XML Authority-->
-
<!--
Overview of the architecture of jboss.xml
@@ -31,7 +29,6 @@
</enterprise-beans>
-
<resource-managers>
<resource-manager>
@@ -46,12 +43,12 @@
</resource-managers>
-
<container-configurations>
<container-configuration>
<container-name />
<container-invoker />
+ <container-interceptors />
<instance-pool />
<instance-cache />
<persistence-manager />
@@ -66,9 +63,7 @@
</container-configurations>
-
</jboss>
-
-->
<!--
The jboss element is the root element of the jboss.xml file. It
@@ -314,7 +309,10 @@
Used in: container-configurations
-->
-<!ELEMENT container-configuration (container-name , call-logging ,
container-invoker , instance-pool? , instance-cache? , persistence-manager? ,
transaction-manager? , container-invoker-conf? , container-cache-conf? ,
container-pool-conf? , commit-option? , role-mapping-manager? ,
authentication-module?)>
+<!ELEMENT container-configuration (container-name, call-logging, container-invoker,
+container-interceptors?, instance-pool?, instance-cache? , persistence-manager? ,
+transaction-manager? , container-invoker-conf? , container-cache-conf? ,
container-pool-conf?,
+commit-option? , role-mapping-manager? , authentication-module?)>
<!--
The configuration-class attribute is used to indicate the
@@ -351,6 +349,41 @@
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 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">
+
+<!-- The metricsEnabled attributes is used to indicate if the interceptor
+should only be included when the org.jboss.ejb.ContainerFactory metricsEnabled
+flag is set to true. The allowed values are true and false with false being the
+default if metricsEnabled is not explicitly given.
+-->
+<!ATTLIST interceptor metricsEnabled (true | false ) "false">
<!--
The instance-pool element gives the class name of the instance pool