blob: a425fb65533928dd8b83743c8c436b4f644b67bf [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ServiceContext (Apache Axis2)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ServiceContext (Apache Axis2)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ServiceContext.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" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.axis2.context</a></div>
<h2 title="Class ServiceContext" class="title">Class ServiceContext</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="AbstractContext.html" title="class in org.apache.axis2.context">org.apache.axis2.context.AbstractContext</a></li>
<li>
<ul class="inheritance">
<li>org.apache.axis2.context.ServiceContext</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code>, <code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="externalize/SafeSerializable.html" title="interface in org.apache.axis2.context.externalize">SafeSerializable</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">ServiceContext</span>
extends <a href="AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>
implements <a href="https://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a>, <a href="externalize/SafeSerializable.html" title="interface in org.apache.axis2.context.externalize">SafeSerializable</a></pre>
<div class="block">Well this is never clearly defined, what it does or the life-cycle.
So do NOT use this as it might not live up to your expectation.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#org.apache.axis2.context.ServiceContext">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SERVICE_OBJECT">SERVICE_OBJECT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.axis2.context.AbstractContext">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.axis2.context.<a href="AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a></h3>
<code><a href="AbstractContext.html#COPY_PROPERTIES">COPY_PROPERTIES</a>, <a href="AbstractContext.html#lastTouchedTime">lastTouchedTime</a>, <a href="AbstractContext.html#parent">parent</a>, <a href="AbstractContext.html#properties">properties</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ServiceContext</a></span>()</code></th>
<td class="colLast">
<div class="block">Public constructor (only here because this class is Externalizable)</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#activate(org.apache.axis2.context.ConfigurationContext)">activate</a></span>&#8203;(<a href="ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;cc)</code></th>
<td class="colLast">
<div class="block">This method checks to see if additional work needs to be
done in order to complete the object reconstitution.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createOperationContext(javax.xml.namespace.QName)">createOperationContext</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;name)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createOperationContext(org.apache.axis2.description.AxisOperation)">createOperationContext</a></span>&#8203;(<a href="../description/AxisOperation.html" title="class in org.apache.axis2.description">AxisOperation</a>&nbsp;axisOp)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAxisService()">getAxisService</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConfigurationContext()">getConfigurationContext</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGroupName()">getGroupName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a name associated with the ServiceGroupContext
associated with this ServiceContext.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLastOperationContext()">getLastOperationContext</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLogCorrelationIDString()">getLogCorrelationIDString</a></span>()</code></th>
<td class="colLast">
<div class="block">Get the ID associated with this object instance.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMyEPR(java.lang.String)">getMyEPR</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;transport)</code></th>
<td class="colLast">
<div class="block">To get the ERP for a given service , if the transport is present and not
running then it will add as a listener to ListenerManager , there it will
init that and start the listener , and finally ask the EPR from transport
for a given service</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a name associated with this ServiceContext.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRootContext()">getRootContext</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="ServiceGroupContext.html" title="class in org.apache.axis2.context">ServiceGroupContext</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getServiceGroupContext()">getServiceGroupContext</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTargetEPR()">getTargetEPR</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCachingOperationContext()">isCachingOperationContext</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#putContextProperties(org.apache.axis2.context.ServiceContext,boolean)">putContextProperties</a></span>&#8203;(<a href="ServiceContext.html" title="class in org.apache.axis2.context">ServiceContext</a>&nbsp;context,
boolean&nbsp;doParentProperties)</code></th>
<td class="colLast">
<div class="block">This will do a copy of the properties from this context object
to the properties of the specified context object.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readExternal(java.io.ObjectInput)">readExternal</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectInput</a>&nbsp;inObject)</code></th>
<td class="colLast">
<div class="block">Restore the contents of the object that was previously saved.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCachingOperationContext(boolean)">setCachingOperationContext</a></span>&#8203;(boolean&nbsp;cacheLastOperationContext)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLastOperationContext(org.apache.axis2.context.OperationContext)">setLastOperationContext</a></span>&#8203;(<a href="OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a>&nbsp;lastOperationContext)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMyEPR(org.apache.axis2.addressing.EndpointReference)">setMyEPR</a></span>&#8203;(<a href="../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;myEPR)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTargetEPR(org.apache.axis2.addressing.EndpointReference)">setTargetEPR</a></span>&#8203;(<a href="../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;targetEPR)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeExternal(java.io.ObjectOutput)">writeExternal</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectOutput</a>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Save the contents of this object.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.axis2.context.AbstractContext">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.axis2.context.<a href="AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a></h3>
<code><a href="AbstractContext.html#clearPropertyDifferences()">clearPropertyDifferences</a>, <a href="AbstractContext.html#flush()">flush</a>, <a href="AbstractContext.html#getLastTouchedTime()">getLastTouchedTime</a>, <a href="AbstractContext.html#getLocalProperty(java.lang.String)">getLocalProperty</a>, <a href="AbstractContext.html#getParent()">getParent</a>, <a href="AbstractContext.html#getProperties()">getProperties</a>, <a href="AbstractContext.html#getProperty(java.lang.String)">getProperty</a>, <a href="AbstractContext.html#getPropertyDifferences()">getPropertyDifferences</a>, <a href="AbstractContext.html#getPropertyNames()">getPropertyNames</a>, <a href="AbstractContext.html#getPropertyNonReplicable(java.lang.String)">getPropertyNonReplicable</a>, <a href="AbstractContext.html#isAncestor(org.apache.axis2.context.AbstractContext)">isAncestor</a>, <a href="AbstractContext.html#mergeProperties(java.util.Map)">mergeProperties</a>, <a href="AbstractContext.html#removeProperty(java.lang.String)">removeProperty</a>, <a href="AbstractContext.html#removePropertyNonReplicable(java.lang.String)">removePropertyNonReplicable</a>, <a href="AbstractContext.html#setLastTouchedTime(long)">setLastTouchedTime</a>, <a href="AbstractContext.html#setNonReplicableProperty(java.lang.String,java.lang.Object)">setNonReplicableProperty</a>, <a href="AbstractContext.html#setParent(org.apache.axis2.context.AbstractContext)">setParent</a>, <a href="AbstractContext.html#setProperties(java.util.Map)">setProperties</a>, <a href="AbstractContext.html#setProperty(java.lang.String,java.lang.Object)">setProperty</a>, <a href="AbstractContext.html#touch()">touch</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="SERVICE_OBJECT">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SERVICE_OBJECT</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> SERVICE_OBJECT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#org.apache.axis2.context.ServiceContext.SERVICE_OBJECT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ServiceContext</h4>
<pre>public&nbsp;ServiceContext()</pre>
<div class="block">Public constructor (only here because this class is Externalizable)</div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="createOperationContext(javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOperationContext</h4>
<pre class="methodSignature">public&nbsp;<a href="OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a>&nbsp;createOperationContext&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace" class="externalLink">QName</a>&nbsp;name)</pre>
</li>
</ul>
<a id="createOperationContext(org.apache.axis2.description.AxisOperation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOperationContext</h4>
<pre class="methodSignature">public&nbsp;<a href="OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a>&nbsp;createOperationContext&#8203;(<a href="../description/AxisOperation.html" title="class in org.apache.axis2.description">AxisOperation</a>&nbsp;axisOp)</pre>
</li>
</ul>
<a id="getAxisService()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAxisService</h4>
<pre class="methodSignature">public&nbsp;<a href="../description/AxisService.html" title="class in org.apache.axis2.description">AxisService</a>&nbsp;getAxisService()</pre>
</li>
</ul>
<a id="getConfigurationContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfigurationContext</h4>
<pre class="methodSignature">public&nbsp;<a href="ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;getConfigurationContext()</pre>
</li>
</ul>
<a id="getServiceGroupContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServiceGroupContext</h4>
<pre class="methodSignature">public&nbsp;<a href="ServiceGroupContext.html" title="class in org.apache.axis2.context">ServiceGroupContext</a>&nbsp;getServiceGroupContext()</pre>
</li>
</ul>
<a id="getMyEPR(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMyEPR</h4>
<pre class="methodSignature">public&nbsp;<a href="../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;getMyEPR&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;transport)
throws <a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block">To get the ERP for a given service , if the transport is present and not
running then it will add as a listener to ListenerManager , there it will
init that and start the listener , and finally ask the EPR from transport
for a given service</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>transport</code> - : Name of the transport</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd>
</dl>
</li>
</ul>
<a id="getTargetEPR()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTargetEPR</h4>
<pre class="methodSignature">public&nbsp;<a href="../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;getTargetEPR()</pre>
</li>
</ul>
<a id="setTargetEPR(org.apache.axis2.addressing.EndpointReference)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTargetEPR</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setTargetEPR&#8203;(<a href="../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;targetEPR)</pre>
</li>
</ul>
<a id="setMyEPR(org.apache.axis2.addressing.EndpointReference)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMyEPR</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setMyEPR&#8203;(<a href="../addressing/EndpointReference.html" title="class in org.apache.axis2.addressing">EndpointReference</a>&nbsp;myEPR)</pre>
</li>
</ul>
<a id="getLastOperationContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastOperationContext</h4>
<pre class="methodSignature">public&nbsp;<a href="OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a>&nbsp;getLastOperationContext()</pre>
</li>
</ul>
<a id="setLastOperationContext(org.apache.axis2.context.OperationContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLastOperationContext</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setLastOperationContext&#8203;(<a href="OperationContext.html" title="class in org.apache.axis2.context">OperationContext</a>&nbsp;lastOperationContext)</pre>
</li>
</ul>
<a id="isCachingOperationContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCachingOperationContext</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isCachingOperationContext()</pre>
</li>
</ul>
<a id="setCachingOperationContext(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCachingOperationContext</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setCachingOperationContext&#8203;(boolean&nbsp;cacheLastOperationContext)</pre>
</li>
</ul>
<a id="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getName()</pre>
<div class="block">Returns a name associated with this ServiceContext.
<p/>
Note: this name is from the corresponding
AxisService object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The name string, or null if no name can be found</dd>
</dl>
</li>
</ul>
<a id="getGroupName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupName</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getGroupName()</pre>
<div class="block">Returns a name associated with the ServiceGroupContext
associated with this ServiceContext.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The name string, or null if no name can be found</dd>
</dl>
</li>
</ul>
<a id="writeExternal(java.io.ObjectOutput)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeExternal</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;writeExternal&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectOutput</a>&nbsp;o)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></pre>
<div class="block">Save the contents of this object.
<p/>
NOTE: Transient fields and static fields are not saved.
Also, objects that represent "static" data are
not saved, except for enough information to be
able to find matching objects when the message
context is re-constituted.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true#writeExternal(java.io.ObjectOutput)" title="class or interface in java.io" class="externalLink">writeExternal</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>out</code> - The stream to write the object contents to</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code></dd>
</dl>
</li>
</ul>
<a id="readExternal(java.io.ObjectInput)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readExternal</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;readExternal&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectInput</a>&nbsp;inObject)
throws <a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a>,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassNotFoundException</a></pre>
<div class="block">Restore the contents of the object that was previously saved.
<p/>
NOTE: The field data must read back in the same order and type
as it was written. Some data will need to be validated when
resurrected.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true#readExternal(java.io.ObjectInput)" title="class or interface in java.io" class="externalLink">readExternal</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - The stream to read the object contents from</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code></dd>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassNotFoundException</a></code></dd>
</dl>
</li>
</ul>
<a id="activate(org.apache.axis2.context.ConfigurationContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>activate</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;activate&#8203;(<a href="ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;cc)</pre>
<div class="block">This method checks to see if additional work needs to be
done in order to complete the object reconstitution.
Some parts of the object restored from the readExternal()
cannot be completed until we have a configurationContext
from the active engine. The configurationContext is used
to help this object to plug back into the engine's
configuration and deployment objects.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cc</code> - The configuration context object representing the active configuration</dd>
</dl>
</li>
</ul>
<a id="putContextProperties(org.apache.axis2.context.ServiceContext,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putContextProperties</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;putContextProperties&#8203;(<a href="ServiceContext.html" title="class in org.apache.axis2.context">ServiceContext</a>&nbsp;context,
boolean&nbsp;doParentProperties)</pre>
<div class="block">This will do a copy of the properties from this context object
to the properties of the specified context object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The ServiceContext object to hold the merged properties</dd>
<dd><code>doParentProperties</code> - Indicates whether to go up the context hierachy
copy the properties at each level</dd>
</dl>
</li>
</ul>
<a id="getLogCorrelationIDString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogCorrelationIDString</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getLogCorrelationIDString()</pre>
<div class="block">Get the ID associated with this object instance.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A string that can be output to a log file as an identifier
for this object instance. It is suitable for matching related log
entries.</dd>
</dl>
</li>
</ul>
<a id="getRootContext()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getRootContext</h4>
<pre class="methodSignature">public&nbsp;<a href="ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;getRootContext()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="AbstractContext.html#getRootContext()">getRootContext</a></code>&nbsp;in class&nbsp;<code><a href="AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ServiceContext.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" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</footer>
</body>
</html>