| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>Utils (Apache Axis2)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Utils (Apache Axis2)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Utils.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis2/util/URLProcessor.html" title="class in org.apache.axis2.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis2/util/WrappedDataHandler.html" title="class in org.apache.axis2.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis2/util/Utils.html" target="_top">Frames</a></li> |
| <li><a href="Utils.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis2.util</div> |
| <h2 title="Class Utils" class="title">Class Utils</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis2.util.Utils</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">Utils</span> |
| extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#Utils()">Utils</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#addHandler(org.apache.axis2.description.Flow, org.apache.axis2.engine.Handler, java.lang.String)">addHandler</a></strong>(<a href="../../../../org/apache/axis2/description/Flow.html" title="class in org.apache.axis2.description">Flow</a> flow, |
| <a href="../../../../org/apache/axis2/engine/Handler.html" title="interface in org.apache.axis2.engine">Handler</a> handler, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> phaseName)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#calculateDefaultModuleVersion(java.util.HashMap, org.apache.axis2.engine.AxisConfiguration)">calculateDefaultModuleVersion</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a> modules, |
| <a href="../../../../org/apache/axis2/engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a> axisConfig)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#checkVersion(org.apache.axis2.description.Version, org.apache.axis2.description.Version)">checkVersion</a></strong>(<a href="../../../../org/apache/axis2/description/Version.html" title="class in org.apache.axis2.description">Version</a> module1version, |
| <a href="../../../../org/apache/axis2/description/Version.html" title="class in org.apache.axis2.description">Version</a> module2version)</code> |
| <div class="block">- if he trying to engage the same module then method will returen false |
| - else it will return true</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#createServiceObject(org.apache.axis2.description.AxisService)">createServiceObject</a></strong>(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> service)</code> |
| <div class="block">Create a service object for a given service.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#createSimpleInOnlyService(javax.xml.namespace.QName, org.apache.axis2.engine.MessageReceiver, javax.xml.namespace.QName)">createSimpleInOnlyService</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="../../../../org/apache/axis2/engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a> messageReceiver, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#createSimpleService(javax.xml.namespace.QName, org.apache.axis2.engine.MessageReceiver, java.lang.String, javax.xml.namespace.QName)">createSimpleService</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="../../../../org/apache/axis2/engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a> messageReceiver, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#createSimpleService(javax.xml.namespace.QName, java.lang.String, javax.xml.namespace.QName)">createSimpleService</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#createSimpleServiceforClient(javax.xml.namespace.QName, org.apache.axis2.engine.MessageReceiver, java.lang.String, javax.xml.namespace.QName)">createSimpleServiceforClient</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="../../../../org/apache/axis2/engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a> messageReceiver, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#createSimpleServiceforClient(javax.xml.namespace.QName, java.lang.String, javax.xml.namespace.QName)">createSimpleServiceforClient</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis2/context/ServiceContext.html" title="class in org.apache.axis2.context">ServiceContext</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#fillContextInformation(org.apache.axis2.description.AxisService, org.apache.axis2.context.ConfigurationContext)">fillContextInformation</a></strong>(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> axisService, |
| <a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getAxisSpecifMEPConstant(java.lang.String)">getAxisSpecifMEPConstant</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> messageExchangePattern)</code> |
| <div class="block">Maps the String URI of the Message exchange pattern to a integer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getHostname(org.apache.axis2.engine.AxisConfiguration)">getHostname</a></strong>(<a href="../../../../org/apache/axis2/engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a> axisConfiguration)</code> |
| <div class="block">First check whether the hostname parameter is there in AxisConfiguration (axis2.xml) , |
| if it is there then this will return that as the host name , o.w will return the IP address.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getInboundFaultFromMessageContext(org.apache.axis2.context.MessageContext)">getInboundFaultFromMessageContext</a></strong>(<a href="../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a> messageContext)</code> |
| <div class="block">Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached |
| to the provided MessageContext.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getIpAddress()">getIpAddress</a></strong>()</code> |
| <div class="block">Returns the ip address to be used for the replyto epr |
| CAUTION: |
| This will go through all the available network interfaces and will try to return an ip address.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getIpAddress(org.apache.axis2.engine.AxisConfiguration)">getIpAddress</a></strong>(<a href="../../../../org/apache/axis2/engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a> axisConfiguration)</code> |
| <div class="block">First check whether the hostname parameter is there in AxisConfiguration (axis2.xml) , |
| if it is there then this will retun that as the host name , o.w will return the IP address.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getModuleName(java.lang.String, java.lang.String)">getModuleName</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleVersion)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getMtomThreshold(org.apache.axis2.context.MessageContext)">getMtomThreshold</a></strong>(<a href="../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a> msgCtxt)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getNewConfigurationContext(java.lang.String)">getNewConfigurationContext</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositry)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getObjectClassLoader(java.lang.Object)">getObjectClassLoader</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object)</code> |
| <div class="block">This method will provide the logic needed to retrieve an Object's classloader |
| in a Java 2 Security compliant manner.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getOperationName(java.lang.String, java.lang.String)">getOperationName</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName)</code> |
| <div class="block">Compute the operation path from request URI using the servince name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getParameterValue(org.apache.axis2.description.Parameter)">getParameterValue</a></strong>(<a href="../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> param)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getServiceAndOperationPart(java.lang.String, java.lang.String)">getServiceAndOperationPart</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> servicePath)</code> |
| <div class="block">Gives the service/operation part from the incoming EPR |
| Ex: ..services/foo/bar/Version/getVersion -> foo/bar/Version/getVersion</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getServiceClass(org.apache.axis2.description.AxisService)">getServiceClass</a></strong>(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> service)</code> |
| <div class="block">Get the service class for a given service.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#getURIScheme(java.lang.String)">getURIScheme</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</code> |
| <div class="block">Get the scheme part from a URI (or URL).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#isClientThreadNonBlockingPropertySet(org.apache.axis2.context.MessageContext)">isClientThreadNonBlockingPropertySet</a></strong>(<a href="../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a> messageContext)</code> |
| <div class="block">this is to make is backward compatible.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#isHiddenService(org.apache.axis2.description.AxisService)">isHiddenService</a></strong>(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> axisService)</code> |
| <div class="block">This method is used to find whether an axis2service is declared as hidden using the |
| "hiddenService" param</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#isValidModuleName(java.lang.String)">isValidModuleName</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleName)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#parseRequestURLForServiceAndOperation(java.lang.String, java.lang.String)">parseRequestURLForServiceAndOperation</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> servicePath)</code> |
| <div class="block">Break a full path into pieces</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/Utils.html#sanitizeWebOutput(java.lang.String)">sanitizeWebOutput</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> text)</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="Utils()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Utils</h4> |
| <pre>public Utils()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="addHandler(org.apache.axis2.description.Flow, org.apache.axis2.engine.Handler, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addHandler</h4> |
| <pre>public static void addHandler(<a href="../../../../org/apache/axis2/description/Flow.html" title="class in org.apache.axis2.description">Flow</a> flow, |
| <a href="../../../../org/apache/axis2/engine/Handler.html" title="interface in org.apache.axis2.engine">Handler</a> handler, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> phaseName)</pre> |
| </li> |
| </ul> |
| <a name="createSimpleService(javax.xml.namespace.QName, java.lang.String, javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSimpleService</h4> |
| <pre>public static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> createSimpleService(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="createSimpleServiceforClient(javax.xml.namespace.QName, java.lang.String, javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSimpleServiceforClient</h4> |
| <pre>public static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> createSimpleServiceforClient(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="createSimpleInOnlyService(javax.xml.namespace.QName, org.apache.axis2.engine.MessageReceiver, javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSimpleInOnlyService</h4> |
| <pre>public static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> createSimpleInOnlyService(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="../../../../org/apache/axis2/engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a> messageReceiver, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="createSimpleService(javax.xml.namespace.QName, org.apache.axis2.engine.MessageReceiver, java.lang.String, javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSimpleService</h4> |
| <pre>public static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> createSimpleService(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="../../../../org/apache/axis2/engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a> messageReceiver, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="createSimpleServiceforClient(javax.xml.namespace.QName, org.apache.axis2.engine.MessageReceiver, java.lang.String, javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSimpleServiceforClient</h4> |
| <pre>public static <a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> createSimpleServiceforClient(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> serviceName, |
| <a href="../../../../org/apache/axis2/engine/MessageReceiver.html" title="interface in org.apache.axis2.engine">MessageReceiver</a> messageReceiver, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> opName) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="fillContextInformation(org.apache.axis2.description.AxisService, org.apache.axis2.context.ConfigurationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fillContextInformation</h4> |
| <pre>public static <a href="../../../../org/apache/axis2/context/ServiceContext.html" title="class in org.apache.axis2.context">ServiceContext</a> fillContextInformation(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> axisService, |
| <a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="parseRequestURLForServiceAndOperation(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parseRequestURLForServiceAndOperation</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] parseRequestURLForServiceAndOperation(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> servicePath)</pre> |
| <div class="block">Break a full path into pieces</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>an array where element [0] always contains the service, and element 1, if not null, contains |
| the path after the first element. all ? parameters are discarded.</dd></dl> |
| </li> |
| </ul> |
| <a name="getServiceAndOperationPart(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServiceAndOperationPart</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getServiceAndOperationPart(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> servicePath)</pre> |
| <div class="block">Gives the service/operation part from the incoming EPR |
| Ex: ..services/foo/bar/Version/getVersion -> foo/bar/Version/getVersion</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - - incoming EPR</dd><dd><code>servicePath</code> - - Ex: 'services'</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>- service/operation part</dd></dl> |
| </li> |
| </ul> |
| <a name="getOperationName(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOperationName</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getOperationName(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> serviceName)</pre> |
| <div class="block">Compute the operation path from request URI using the servince name. Service name can be a |
| normal one or a hierarchical one. |
| Ex: ../services/Echo/echoString -> echoString |
| ../services/foo/1.0.0/Echo/echoString -> echoString |
| ../services/Echo/ -> null</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - - request URI</dd><dd><code>serviceName</code> - - service name</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>- operation name if any, else null</dd></dl> |
| </li> |
| </ul> |
| <a name="getNewConfigurationContext(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNewConfigurationContext</h4> |
| <pre>public static <a href="../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> getNewConfigurationContext(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> repositry) |
| throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getParameterValue(org.apache.axis2.description.Parameter)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParameterValue</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getParameterValue(<a href="../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> param)</pre> |
| </li> |
| </ul> |
| <a name="getModuleName(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getModuleName</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getModuleName(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleName, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleVersion)</pre> |
| </li> |
| </ul> |
| <a name="isValidModuleName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isValidModuleName</h4> |
| <pre>public static boolean isValidModuleName(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> moduleName)</pre> |
| </li> |
| </ul> |
| <a name="checkVersion(org.apache.axis2.description.Version, org.apache.axis2.description.Version)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkVersion</h4> |
| <pre>public static boolean checkVersion(<a href="../../../../org/apache/axis2/description/Version.html" title="class in org.apache.axis2.description">Version</a> module1version, |
| <a href="../../../../org/apache/axis2/description/Version.html" title="class in org.apache.axis2.description">Version</a> module2version) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">- if he trying to engage the same module then method will returen false |
| - else it will return true</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="calculateDefaultModuleVersion(java.util.HashMap, org.apache.axis2.engine.AxisConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>calculateDefaultModuleVersion</h4> |
| <pre>public static void calculateDefaultModuleVersion(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a> modules, |
| <a href="../../../../org/apache/axis2/engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a> axisConfig)</pre> |
| </li> |
| </ul> |
| <a name="getAxisSpecifMEPConstant(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAxisSpecifMEPConstant</h4> |
| <pre>public static int getAxisSpecifMEPConstant(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> messageExchangePattern)</pre> |
| <div class="block">Maps the String URI of the Message exchange pattern to a integer. |
| Further, in the first lookup, it will cache the looked |
| up value so that the subsequent method calls are extremely efficient.</div> |
| </li> |
| </ul> |
| <a name="getInboundFaultFromMessageContext(org.apache.axis2.context.MessageContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInboundFaultFromMessageContext</h4> |
| <pre>public static <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a> getInboundFaultFromMessageContext(<a href="../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a> messageContext)</pre> |
| <div class="block">Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached |
| to the provided MessageContext. This first check for an already extracted AxisFault |
| and otherwise does a simple extract. |
| <p/> |
| MUST NOT be passed a MessageContext which does not contain a SOAPFault</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>messageContext</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="getObjectClassLoader(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getObjectClassLoader</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> getObjectClassLoader(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> object)</pre> |
| <div class="block">This method will provide the logic needed to retrieve an Object's classloader |
| in a Java 2 Security compliant manner.</div> |
| </li> |
| </ul> |
| <a name="getMtomThreshold(org.apache.axis2.context.MessageContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMtomThreshold</h4> |
| <pre>public static int getMtomThreshold(<a href="../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a> msgCtxt)</pre> |
| </li> |
| </ul> |
| <a name="getIpAddress()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIpAddress</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getIpAddress() |
| throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/SocketException.html?is-external=true" title="class or interface in java.net">SocketException</a></pre> |
| <div class="block">Returns the ip address to be used for the replyto epr |
| CAUTION: |
| This will go through all the available network interfaces and will try to return an ip address. |
| First this will try to get the first IP which is not loopback address (127.0.0.1). If none is found |
| then this will return this will return 127.0.0.1. |
| This will <b>not<b> consider IPv6 addresses. |
| <p/> |
| TODO: |
| - Improve this logic to genaralize it a bit more |
| - Obtain the ip to be used here from the Call API</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>Returns String.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/SocketException.html?is-external=true" title="class or interface in java.net">SocketException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getIpAddress(org.apache.axis2.engine.AxisConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIpAddress</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getIpAddress(<a href="../../../../org/apache/axis2/engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a> axisConfiguration) |
| throws <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/SocketException.html?is-external=true" title="class or interface in java.net">SocketException</a></pre> |
| <div class="block">First check whether the hostname parameter is there in AxisConfiguration (axis2.xml) , |
| if it is there then this will retun that as the host name , o.w will return the IP address.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/SocketException.html?is-external=true" title="class or interface in java.net">SocketException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getHostname(org.apache.axis2.engine.AxisConfiguration)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHostname</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getHostname(<a href="../../../../org/apache/axis2/engine/AxisConfiguration.html" title="class in org.apache.axis2.engine">AxisConfiguration</a> axisConfiguration)</pre> |
| <div class="block">First check whether the hostname parameter is there in AxisConfiguration (axis2.xml) , |
| if it is there then this will return that as the host name , o.w will return the IP address.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>axisConfiguration</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd>hostname</dd></dl> |
| </li> |
| </ul> |
| <a name="getURIScheme(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getURIScheme</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getURIScheme(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</pre> |
| <div class="block">Get the scheme part from a URI (or URL).</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - the URI</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the scheme of the URI</dd></dl> |
| </li> |
| </ul> |
| <a name="sanitizeWebOutput(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sanitizeWebOutput</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sanitizeWebOutput(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> text)</pre> |
| </li> |
| </ul> |
| <a name="createServiceObject(org.apache.axis2.description.AxisService)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createServiceObject</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> createServiceObject(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> service) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Create a service object for a given service. The method first looks for |
| the <a href="../../../../org/apache/axis2/Constants.html#SERVICE_OBJECT_SUPPLIER"><code>Constants.SERVICE_OBJECT_SUPPLIER</code></a> service parameter and if |
| this parameter is present, it will use the specified class to create the |
| service object. If the parameter is not present, it will create an |
| instance of the class specified by the <a href="../../../../org/apache/axis2/Constants.html#SERVICE_CLASS"><code>Constants.SERVICE_CLASS</code></a> |
| parameter.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>service</code> - the service</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The service object or <code>null</code> if neither the |
| <a href="../../../../org/apache/axis2/Constants.html#SERVICE_OBJECT_SUPPLIER"><code>Constants.SERVICE_OBJECT_SUPPLIER</code></a> nor the |
| <a href="../../../../org/apache/axis2/Constants.html#SERVICE_CLASS"><code>Constants.SERVICE_CLASS</code></a> parameter was found on the |
| service, i.e. if the service doesn't specify how to create a |
| service object. If the return value is non null, it will always |
| be a newly created instance.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if an error occurred while attempting to instantiate the |
| service object</dd></dl> |
| </li> |
| </ul> |
| <a name="getServiceClass(org.apache.axis2.description.AxisService)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServiceClass</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> getServiceClass(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> service) |
| throws <a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block">Get the service class for a given service. This method will first check |
| the <a href="../../../../org/apache/axis2/Constants.html#SERVICE_CLASS"><code>Constants.SERVICE_CLASS</code></a> service parameter and if that |
| parameter is not present, inspect the instance returned by the service |
| object supplier specified by <a href="../../../../org/apache/axis2/Constants.html#SERVICE_OBJECT_SUPPLIER"><code>Constants.SERVICE_OBJECT_SUPPLIER</code></a>.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>service</code> - the service</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>The service class or <code>null</code> if neither the |
| <a href="../../../../org/apache/axis2/Constants.html#SERVICE_CLASS"><code>Constants.SERVICE_CLASS</code></a> nor the |
| <a href="../../../../org/apache/axis2/Constants.html#SERVICE_OBJECT_SUPPLIER"><code>Constants.SERVICE_OBJECT_SUPPLIER</code></a> parameter was found on |
| the service, i.e. if the service doesn't specify a service class.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code> - if an error occurred while attempting to load the service |
| class or to instantiate the service object</dd></dl> |
| </li> |
| </ul> |
| <a name="isClientThreadNonBlockingPropertySet(org.apache.axis2.context.MessageContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClientThreadNonBlockingPropertySet</h4> |
| <pre>public static boolean isClientThreadNonBlockingPropertySet(<a href="../../../../org/apache/axis2/context/MessageContext.html" title="class in org.apache.axis2.context">MessageContext</a> messageContext)</pre> |
| <div class="block">this is to make is backward compatible. Get rid of this at the next major release.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>messageContext</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="isHiddenService(org.apache.axis2.description.AxisService)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>isHiddenService</h4> |
| <pre>public static boolean isHiddenService(<a href="../../../../org/apache/axis2/description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a> axisService)</pre> |
| <div class="block">This method is used to find whether an axis2service is declared as hidden using the |
| "hiddenService" param</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>axisService</code> - - the service of interest</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if is declared as hidden, false if not</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/Utils.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis2/util/URLProcessor.html" title="class in org.apache.axis2.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis2/util/WrappedDataHandler.html" title="class in org.apache.axis2.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis2/util/Utils.html" target="_top">Frames</a></li> |
| <li><a href="Utils.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |