User: stark
Date: 01/01/29 17:09:34
Modified: src/main/org/jboss/metadata ConfigurationMetaData.java
Log:
Added containerInterceptorsConf element and accessor to support the
container-interceptors container-configuration element.
Revision Changes Path
1.11 +25 -21 jboss/src/main/org/jboss/metadata/ConfigurationMetaData.java
Index: ConfigurationMetaData.java
===================================================================
RCS file:
/products/cvs/ejboss/jboss/src/main/org/jboss/metadata/ConfigurationMetaData.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ConfigurationMetaData.java 2000/12/12 10:55:59 1.10
+++ ConfigurationMetaData.java 2001/01/30 01:09:34 1.11
@@ -15,7 +15,7 @@
*
* @see <related>
* @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class ConfigurationMetaData extends MetaData {
@@ -37,24 +37,24 @@
public static final String[] commitOptionStrings = { "A", "B", "C" };
// Attributes ----------------------------------------------------
- private String name;
- private String containerInvoker;
- private String instancePool;
- private String instanceCache;
- private String persistenceManager;
- private String transactionManager;
- private byte commitOption;
- private boolean callLogging;
- private boolean readOnlyGetMethods;
-
- private String authenticationModule;
- private String roleMappingManager;
-
- private Element containerInvokerConf;
- private Element containerPoolConf;
- private Element containerCacheConf;
-
-
+ private String name;
+ private String containerInvoker;
+ private String instancePool;
+ private String instanceCache;
+ private String persistenceManager;
+ private String transactionManager;
+ private byte commitOption;
+ private boolean callLogging;
+ private boolean readOnlyGetMethods;
+
+ private String authenticationModule;
+ private String roleMappingManager;
+
+ private Element containerInvokerConf;
+ private Element containerPoolConf;
+ private Element containerCacheConf;
+ private Element containerInterceptorsConf;
+
// Static --------------------------------------------------------
// Constructors --------------------------------------------------
@@ -83,7 +83,8 @@
public Element getContainerInvokerConf() { return containerInvokerConf; }
public Element getContainerPoolConf() { return containerPoolConf; }
public Element getContainerCacheConf() { return containerCacheConf; }
-
+ public Element getContainerInterceptorsConf() { return
containerInterceptorsConf; }
+
public boolean getCallLogging() { return callLogging; }
public byte getCommitOption() { return commitOption; }
@@ -129,7 +130,10 @@
// the classes which can understand the following are dynamically
loaded during deployment :
// We save the Elements for them to use later
-
+
+ // The configuration for the container interceptors
+ containerInterceptorsConf = getOptionalChild(element,
"container-interceptors", containerInterceptorsConf);
+
// configuration for container invoker
containerInvokerConf = getOptionalChild(element, "container-invoker-conf",
containerInvokerConf);