Author: jim.ma
Date: 2014-11-03 04:15:42 -0500 (Mon, 03 Nov 2014)
New Revision: 19064
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/management/ServerConfig.java
Log:
[JBWS-3797]:Add ServerConfig api to support @WebContext(virtualHost=...)
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/management/ServerConfig.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/management/ServerConfig.java 2014-11-03
05:21:46 UTC (rev 19063)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/management/ServerConfig.java 2014-11-03
09:15:42 UTC (rev 19064)
@@ -130,4 +130,18 @@
* @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
+ * @param secure if get the secure port
+ * @return port value for virtual host
+ */
+ Integer getVirtualHostPort(String virtualHost, boolean secure);
+
+ /**
+ * Get host alias which DNS can resolve
+ * @param virtualHost virtual host name
+ * @return host alias name
+ */
+ String getHostAlias(String virtualHost);
}
Show replies by date