|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.wsas.util.WsasUtils
public class WsasUtils
A collection of useful utility methods
Constructor Summary | |
---|---|
WsasUtils()
|
Method Summary | |
---|---|
static java.lang.String |
getAxis2Xml()
|
static int |
getCommandListenerPort()
Get the port of the command listener. |
static java.lang.String |
getWsasServerXml()
|
static boolean |
isAdminConsoleEnabled()
|
static boolean |
isURL(java.lang.String location)
Check whther the specified Strin corresponds to a URL |
static java.lang.Long |
lastUpdatedTime(org.apache.axis2.description.AxisServiceGroup serviceGroup)
Get the last updated time of the service artifact corresponding to AxisServiceGroup serviceGroup |
static void |
setServletContextProperties(javax.servlet.ServletContext servletContext,
java.util.Map generatedPages,
boolean isAdminConsoleEnabled,
int httpPort,
int httpsPort,
java.lang.String servicePath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WsasUtils()
Method Detail |
---|
public static boolean isAdminConsoleEnabled()
public static void setServletContextProperties(javax.servlet.ServletContext servletContext, java.util.Map generatedPages, boolean isAdminConsoleEnabled, int httpPort, int httpsPort, java.lang.String servicePath) throws javax.servlet.ServletException
javax.servlet.ServletException
public static java.lang.String getAxis2Xml()
public static java.lang.String getWsasServerXml()
public static boolean isURL(java.lang.String location)
location
- The String to be checked
location
is a URL, false - otherwisepublic static java.lang.Long lastUpdatedTime(org.apache.axis2.description.AxisServiceGroup serviceGroup)
serviceGroup
- The service group whose last updated time we need to get
public static int getCommandListenerPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |