Author: jim.ma
Date: 2014-10-20 22:41:13 -0400 (Mon, 20 Oct 2014)
New Revision: 19018
Modified:
spi/branches/JBWS-3797/src/main/java/org/jboss/wsf/spi/management/ServerConfig.java
Log:
[JBWS-3797]:Let @WebContext(virtualHost...) affect endpoint address
Modified:
spi/branches/JBWS-3797/src/main/java/org/jboss/wsf/spi/management/ServerConfig.java
===================================================================
---
spi/branches/JBWS-3797/src/main/java/org/jboss/wsf/spi/management/ServerConfig.java 2014-10-21
02:37:35 UTC (rev 19017)
+++
spi/branches/JBWS-3797/src/main/java/org/jboss/wsf/spi/management/ServerConfig.java 2014-10-21
02:41:13 UTC (rev 19018)
@@ -130,4 +130,11 @@
* @return
*/
EndpointConfig getEndpointConfig(String name);
+
+ /**
+ * Get port for virtual host, if there are many ports found only return the first
found
+ * @param virtualHost virtual host name
+ * @return port value for virtual host
+ */
+ Integer getVirutalHostPort(String virtualHost);
}