Author: remy.maucherat(a)jboss.com
Date: 2013-03-25 12:18:31 -0400 (Mon, 25 Mar 2013)
New Revision: 2178
Modified:
branches/8.0.x/src/main/java/org/apache/catalina/core/ApplicationContext.java
Log:
Port trivial spec addition.
Modified: branches/8.0.x/src/main/java/org/apache/catalina/core/ApplicationContext.java
===================================================================
---
branches/8.0.x/src/main/java/org/apache/catalina/core/ApplicationContext.java 2013-03-20
17:30:48 UTC (rev 2177)
+++
branches/8.0.x/src/main/java/org/apache/catalina/core/ApplicationContext.java 2013-03-25
16:18:31 UTC (rev 2178)
@@ -1230,7 +1230,11 @@
context.addSecurityRole(role);
}
}
-
+
+ public String getVirtualServerName() {
+ return ((Host) context.getParent()).getName();
+ }
+
// -------------------------------------------------------- Package Methods
protected void checkListenerType(EventListener listener) {
Show replies by date