JBossWeb SVN: r1482 - in trunk/java/org/apache/catalina: core and 1 other directory.
by jbossweb-commits@lists.jboss.org
Author: remy.maucherat(a)jboss.com
Date: 2010-06-07 07:26:39 -0400 (Mon, 07 Jun 2010)
New Revision: 1482
Modified:
trunk/java/org/apache/catalina/Context.java
trunk/java/org/apache/catalina/core/StandardContext.java
Log:
- Add back ignore annotations as a dumb flag (I don't think it can legitimately be used).
Modified: trunk/java/org/apache/catalina/Context.java
===================================================================
--- trunk/java/org/apache/catalina/Context.java 2010-06-01 15:13:02 UTC (rev 1481)
+++ trunk/java/org/apache/catalina/Context.java 2010-06-07 11:26:39 UTC (rev 1482)
@@ -327,6 +327,21 @@
/**
+ * Return the boolean on the annotations parsing.
+ */
+ public boolean getIgnoreAnnotations();
+
+
+ /**
+ * Set the boolean on the annotations parsing for this web
+ * application.
+ *
+ * @param ignoreAnnotations The boolean on the annotations parsing
+ */
+ public void setIgnoreAnnotations(boolean ignoreAnnotations);
+
+
+ /**
* Used to create application instances.
*/
public InstanceManager getInstanceManager();
Modified: trunk/java/org/apache/catalina/core/StandardContext.java
===================================================================
--- trunk/java/org/apache/catalina/core/StandardContext.java 2010-06-01 15:13:02 UTC (rev 1481)
+++ trunk/java/org/apache/catalina/core/StandardContext.java 2010-06-07 11:26:39 UTC (rev 1482)
@@ -380,6 +380,12 @@
/**
+ * Ignore annotations.
+ */
+ protected boolean ignoreAnnotations = false;
+
+
+ /**
* The set of classnames of InstanceListeners that will be added
* to each newly created Wrapper by <code>createWrapper()</code>.
*/
@@ -1179,6 +1185,27 @@
/**
+ * Return the boolean on the annotations parsing.
+ */
+ public boolean getIgnoreAnnotations() {
+ return this.ignoreAnnotations;
+ }
+
+
+ /**
+ * Set the boolean on the annotations parsing for this web
+ * application.
+ *
+ * @param ignoreAnnotations The boolean on the annotations parsing
+ */
+ public void setIgnoreAnnotations(boolean ignoreAnnotations) {
+ boolean oldIgnoreAnnotations = this.ignoreAnnotations;
+ this.ignoreAnnotations = ignoreAnnotations;
+ support.firePropertyChange("ignoreAnnotations", oldIgnoreAnnotations, this.ignoreAnnotations);
+ }
+
+
+ /**
* Set the session cookie configuration.
*
* @param sessionCookie The new value