public class Util extends Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static QName |
getTypes(org.apache.axis2.description.AxisService axisService)
Get the WS-D types of an Axis2 service.
|
static String |
getWsdlInformation(String serviceName,
org.apache.axis2.engine.AxisConfiguration axisConfig) |
static void |
registerServiceObserver(org.apache.axis2.engine.AxisConfiguration axisConf)
Engage the TargetServiceObserver on the given AxisConfiguration.
|
static QName[] |
toQNameArray(String[] array)
Convert an array of strings into an array of QName instances.
|
static String[] |
toStringArray(Object[] array)
Convert an object array into a string array.
|
static URI[] |
toURIArray(String[] array)
Convert an array of strings into an array of URI instances.
|
static void |
unregisterServiceObserver(org.apache.axis2.engine.AxisConfiguration axisConf,
boolean sendBye)
Disengage the TargetServiceObserver from the given AxisConfiguration.
|
public static QName getTypes(org.apache.axis2.description.AxisService axisService)
axisService
- The Axis2 servicepublic static String[] toStringArray(Object[] array)
array
- An array of any objects - must not be nullpublic static QName[] toQNameArray(String[] array)
array
- An array of strings - must not be nullpublic static URI[] toURIArray(String[] array)
array
- An array of strings - must not be nullpublic static void registerServiceObserver(org.apache.axis2.engine.AxisConfiguration axisConf)
axisConf
- AxisConfiguration instancepublic static void unregisterServiceObserver(org.apache.axis2.engine.AxisConfiguration axisConf, boolean sendBye)
axisConf
- AxisConfiguration instancesendBye
- true if BYE messages should be sent for all the deployed servicesCopyright © 2020 WSO2. All rights reserved.