blob: b1ebbd1417790c3803777595773f616bc8f4505c [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DefaultStateManager (Apache Axis2)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultStateManager (Apache Axis2)";
}
}
catch(err) {
}
//-->
var methods = {"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};
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";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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/DefaultStateManager.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/clustering/state/ClusteringContextListener.html" title="class in org.apache.axis2.clustering.state"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/axis2/clustering/state/PropertyUpdater.html" title="class in org.apache.axis2.clustering.state"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/axis2/clustering/state/DefaultStateManager.html" target="_top">Frames</a></li>
<li><a href="DefaultStateManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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.clustering.state</div>
<h2 title="Class DefaultStateManager" class="title">Class DefaultStateManager</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">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.axis2.clustering.state.DefaultStateManager</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a>, <a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">DefaultStateManager</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></pre>
<div class="block">This class is the defaut StateManager of the Apache Tribes based clustering implementation</div>
</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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#DefaultStateManager--">DefaultStateManager</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<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="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#addParameter-org.apache.axis2.description.Parameter-">addParameter</a></span>(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a>&nbsp;param)</code>
<div class="block">Method addParameter.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#deserializeParameters-org.apache.axiom.om.OMElement-">deserializeParameters</a></span>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;parameterElement)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#getParameter-java.lang.String-">getParameter</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Method getParameter.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#getParameters--">getParameters</a></span>()</code>
<div class="block">Gets all the parameters in a given description.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#getReplicationExcludePatterns--">getReplicationExcludePatterns</a></span>()</code>
<div class="block">Get all the excluded context property name patterns</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#isContextClusterable-org.apache.axis2.context.AbstractContext-">isContextClusterable</a></span>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>&nbsp;context)</code>
<div class="block">This is a check to see whether the properties in an instance of <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a>
should be replicated.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#isParameterLocked-java.lang.String-">isParameterLocked</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;parameterName)</code>
<div class="block">Checks whether the parameter is locked at any level.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#removeContext-org.apache.axis2.context.AbstractContext-">removeContext</a></span>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>&nbsp;context)</code>
<div class="block">This method is called when <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> is removed from the system</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#removeParameter-org.apache.axis2.description.Parameter-">removeParameter</a></span>(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a>&nbsp;param)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#replicateState-org.apache.axis2.clustering.state.StateClusteringCommand-">replicateState</a></span>(<a href="../../../../../org/apache/axis2/clustering/state/StateClusteringCommand.html" title="class in org.apache.axis2.clustering.state">StateClusteringCommand</a>&nbsp;command)</code>
<div class="block">Replicate state using a custom StateClusteringCommand</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#setConfigurationContext-org.apache.axis2.context.ConfigurationContext-">setConfigurationContext</a></span>(<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;configurationContext)</code>
<div class="block">Set the system's configuration context.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#setReplicationExcludePatterns-java.lang.String-java.util.List-">setReplicationExcludePatterns</a></span>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contextType,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;patterns)</code>
<div class="block">
All properties in the context with type <code>contextType</code> which have
names that match the specified pattern will be excluded from replication.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#setSender-org.apache.axis2.clustering.tribes.ChannelSender-">setSender</a></span>(<a href="../../../../../org/apache/axis2/clustering/tribes/ChannelSender.html" title="class in org.apache.axis2.clustering.tribes">ChannelSender</a>&nbsp;sender)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#updateContext-org.apache.axis2.context.AbstractContext-">updateContext</a></span>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>&nbsp;context)</code>
<div class="block">This method is called when properties in an <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> are updated.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#updateContext-org.apache.axis2.context.AbstractContext-java.lang.String:A-">updateContext</a></span>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>&nbsp;context,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;propertyNames)</code>
<div class="block">This method is called when one need to update/replicate only certains properties in the
specified <code>context</code></div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#updateContexts-org.apache.axis2.context.AbstractContext:A-">updateContexts</a></span>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>[]&nbsp;contexts)</code>
<div class="block">This method is called when properties in a collection of <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a>s are updated.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="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">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">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">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">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">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">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">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">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">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">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">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">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="DefaultStateManager--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultStateManager</h4>
<pre>public&nbsp;DefaultStateManager()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setSender-org.apache.axis2.clustering.tribes.ChannelSender-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSender</h4>
<pre>public&nbsp;void&nbsp;setSender(<a href="../../../../../org/apache/axis2/clustering/tribes/ChannelSender.html" title="class in org.apache.axis2.clustering.tribes">ChannelSender</a>&nbsp;sender)</pre>
</li>
</ul>
<a name="updateContext-org.apache.axis2.context.AbstractContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateContext</h4>
<pre>public&nbsp;void&nbsp;updateContext(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>&nbsp;context)
throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContext-org.apache.axis2.context.AbstractContext-">StateManager</a></code></span></div>
<div class="block">This method is called when properties in an <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> are updated.
This could be addition of new properties, modifications of existing properties or
removal of properties.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContext-org.apache.axis2.context.AbstractContext-">updateContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The context to be replicated</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If replication fails</dd>
</dl>
</li>
</ul>
<a name="updateContext-org.apache.axis2.context.AbstractContext-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateContext</h4>
<pre>public&nbsp;void&nbsp;updateContext(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>&nbsp;context,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;propertyNames)
throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContext-org.apache.axis2.context.AbstractContext-java.lang.String:A-">StateManager</a></code></span></div>
<div class="block">This method is called when one need to update/replicate only certains properties in the
specified <code>context</code></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContext-org.apache.axis2.context.AbstractContext-java.lang.String:A-">updateContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The AbstractContext containing the properties to be replicated</dd>
<dd><code>propertyNames</code> - The names of the specific properties that should be replicated</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If replication fails</dd>
</dl>
</li>
</ul>
<a name="updateContexts-org.apache.axis2.context.AbstractContext:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateContexts</h4>
<pre>public&nbsp;void&nbsp;updateContexts(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>[]&nbsp;contexts)
throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContexts-org.apache.axis2.context.AbstractContext:A-">StateManager</a></code></span></div>
<div class="block">This method is called when properties in a collection of <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a>s are updated.
This could be addition of new properties, modifications of existing properties or
removal of properties.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContexts-org.apache.axis2.context.AbstractContext:A-">updateContexts</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>contexts</code> - The AbstractContexts containing the properties to be replicated</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If replication fails</dd>
</dl>
</li>
</ul>
<a name="replicateState-org.apache.axis2.clustering.state.StateClusteringCommand-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replicateState</h4>
<pre>public&nbsp;void&nbsp;replicateState(<a href="../../../../../org/apache/axis2/clustering/state/StateClusteringCommand.html" title="class in org.apache.axis2.clustering.state">StateClusteringCommand</a>&nbsp;command)
throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#replicateState-org.apache.axis2.clustering.state.StateClusteringCommand-">StateManager</a></code></span></div>
<div class="block">Replicate state using a custom StateClusteringCommand</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#replicateState-org.apache.axis2.clustering.state.StateClusteringCommand-">replicateState</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - The custom StateClusteringCommand which can be used for replicating state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If replication fails</dd>
</dl>
</li>
</ul>
<a name="removeContext-org.apache.axis2.context.AbstractContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeContext</h4>
<pre>public&nbsp;void&nbsp;removeContext(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>&nbsp;context)
throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#removeContext-org.apache.axis2.context.AbstractContext-">StateManager</a></code></span></div>
<div class="block">This method is called when <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> is removed from the system</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#removeContext-org.apache.axis2.context.AbstractContext-">removeContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The AbstractContext to be removed</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If context removal fails</dd>
</dl>
</li>
</ul>
<a name="isContextClusterable-org.apache.axis2.context.AbstractContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isContextClusterable</h4>
<pre>public&nbsp;boolean&nbsp;isContextClusterable(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>&nbsp;context)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#isContextClusterable-org.apache.axis2.context.AbstractContext-">StateManager</a></code></span></div>
<div class="block">This is a check to see whether the properties in an instance of <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a>
should be replicated. This allows an implementer to dissallow the replication of properties
stored in a certain type of context</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#isContextClusterable-org.apache.axis2.context.AbstractContext-">isContextClusterable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - The instance of AbstractContext under consideration</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True - if the provided <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> is clusterable</dd>
</dl>
</li>
</ul>
<a name="setConfigurationContext-org.apache.axis2.context.ConfigurationContext-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConfigurationContext</h4>
<pre>public&nbsp;void&nbsp;setConfigurationContext(<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a>&nbsp;configurationContext)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setConfigurationContext-org.apache.axis2.context.ConfigurationContext-">StateManager</a></code></span></div>
<div class="block">Set the system's configuration context. This will be used by the clustering implementations
to get information about the Axis2 environment and to correspond with the Axis2 environment</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setConfigurationContext-org.apache.axis2.context.ConfigurationContext-">setConfigurationContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>configurationContext</code> - The configuration context</dd>
</dl>
</li>
</ul>
<a name="setReplicationExcludePatterns-java.lang.String-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReplicationExcludePatterns</h4>
<pre>public&nbsp;void&nbsp;setReplicationExcludePatterns(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contextType,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&nbsp;patterns)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setReplicationExcludePatterns-java.lang.String-java.util.List-">StateManager</a></code></span></div>
<div class="block"><p>
All properties in the context with type <code>contextType</code> which have
names that match the specified pattern will be excluded from replication.
</p>
<p/>
<p>
Only prefixes and suffixes are allowed. e.g. the local_* pattern indicates that
all property names starting with local_ should be omitted from replication. *_local pattern
indicated that all property names ending with _local should be omitted from replication.
* pattern indicates that all properties should be excluded.
</p>
<p>
Generally, we can use the context class name as the context type.
</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setReplicationExcludePatterns-java.lang.String-java.util.List-">setReplicationExcludePatterns</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>contextType</code> - The type of the context such as
org.apache.axis2.context.ConfigurationContext,
org.apache.axis2.context.ServiceGroupContext &
org.apache.axis2.context.ServiceContext.
Also "defaults" is a special type, which will apply to all contexts</dd>
<dd><code>patterns</code> - The patterns</dd>
</dl>
</li>
</ul>
<a name="getReplicationExcludePatterns--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReplicationExcludePatterns</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&nbsp;getReplicationExcludePatterns()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#getReplicationExcludePatterns--">StateManager</a></code></span></div>
<div class="block">Get all the excluded context property name patterns</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#getReplicationExcludePatterns--">getReplicationExcludePatterns</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>All the excluded pattern of all the contexts. The key of the Map is the
the <code>contextType</code>. See <a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setReplicationExcludePatterns-java.lang.String-java.util.List-"><code>StateManager.setReplicationExcludePatterns(String,List)</code></a>.
The values are of type <a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a> Objects,
which are a collection of patterns to be excluded.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setReplicationExcludePatterns-java.lang.String-java.util.List-"><code>StateManager.setReplicationExcludePatterns(String, java.util.List)</code></a></dd>
</dl>
</li>
</ul>
<a name="addParameter-org.apache.axis2.description.Parameter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addParameter</h4>
<pre>public&nbsp;void&nbsp;addParameter(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a>&nbsp;param)
throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#addParameter-org.apache.axis2.description.Parameter-">ParameterInclude</a></code></span></div>
<div class="block">Method addParameter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#addParameter-org.apache.axis2.description.Parameter-">addParameter</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd>
<dt><span class="throwsLabel">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="removeParameter-org.apache.axis2.description.Parameter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeParameter</h4>
<pre>public&nbsp;void&nbsp;removeParameter(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a>&nbsp;param)
throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#removeParameter-org.apache.axis2.description.Parameter-">removeParameter</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd>
<dt><span class="throwsLabel">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="getParameter-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParameter</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a>&nbsp;getParameter(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#getParameter-java.lang.String-">ParameterInclude</a></code></span></div>
<div class="block">Method getParameter.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#getParameter-java.lang.String-">getParameter</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns Parameter.</dd>
</dl>
</li>
</ul>
<a name="getParameters--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParameters</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&nbsp;getParameters()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#getParameters--">ParameterInclude</a></code></span></div>
<div class="block">Gets all the parameters in a given description.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#getParameters--">getParameters</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns ArrayList.</dd>
</dl>
</li>
</ul>
<a name="isParameterLocked-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isParameterLocked</h4>
<pre>public&nbsp;boolean&nbsp;isParameterLocked(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;parameterName)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#isParameterLocked-java.lang.String-">ParameterInclude</a></code></span></div>
<div class="block">Checks whether the parameter is locked at any level.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#isParameterLocked-java.lang.String-">isParameterLocked</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd>
</dl>
</li>
</ul>
<a name="deserializeParameters-org.apache.axiom.om.OMElement-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>deserializeParameters</h4>
<pre>public&nbsp;void&nbsp;deserializeParameters(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a>&nbsp;parameterElement)
throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#deserializeParameters-org.apache.axiom.om.OMElement-">deserializeParameters</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd>
<dt><span class="throwsLabel">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>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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/DefaultStateManager.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/clustering/state/ClusteringContextListener.html" title="class in org.apache.axis2.clustering.state"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/axis2/clustering/state/PropertyUpdater.html" title="class in org.apache.axis2.clustering.state"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/axis2/clustering/state/DefaultStateManager.html" target="_top">Frames</a></li>
<li><a href="DefaultStateManager.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>